Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.server
Class ReaderInputStream

    java.lang.Object
      java.io.InputStream
          oracle.ifs.server.ReaderInputStream

All Implemented Interfaces:
  java.io.Closeable

    public class ReaderInputStream

extends java.io.InputStream

ReaderInputStream transforms a Reader into an InputStream.

(Unpublished)

Constructor Summary
`protected` | `ReaderInputStream(java.io.Reader reader, java.lang.String charsetName)` Constructor.

Method Summary
`int` | `available()`
`void` | `close()`
`int` | `read()`
`int` | `read(byte[] b, int off, int len)`

Methods inherited from class java.io.InputStream
`mark, markSupported, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ReaderInputStream

    protected ReaderInputStream(java.io.Reader reader,
                                java.lang.String charsetName)
                         throws java.nio.charset.IllegalCharsetNameException,
                                java.nio.charset.UnsupportedCharsetException

  Constructor.

  Parameters:
    `reader` - the source reader; required
    `charsetName` - the canonical name or alias of a Java CharSet; required
  Throws:
    `java.nio.charset.IllegalCharsetNameException` - if charsetName is illegal
    `java.nio.charset.UnsupportedCharsetException` - if charsetName is unavailable
  (Unpublished)

Method Detail

### read

    public int read()
             throws java.io.IOException

  Description copied from class: `ReaderInputStream`

  Specified by:
    `read` in class `java.io.InputStream`
  Throws:
    `java.io.IOException`

### read

    public int read(byte[] b,
                    int off,
                    int len)
             throws java.io.IOException

  Description copied from class: `ReaderInputStream`

  Overrides:
    `read` in class `java.io.InputStream`
  Throws:
    `java.io.IOException`

### available

    public int available()
                  throws java.io.IOException

  Description copied from class: `ReaderInputStream`

  Overrides:
    `available` in class `java.io.InputStream`
  Throws:
    `java.io.IOException`

### close

    public void close()
               throws java.io.IOException

  Description copied from class: `ReaderInputStream`

  Specified by:
    `close` in interface `java.io.Closeable`
  Overrides:
    `close` in class `java.io.InputStream`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD