borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.io 

EncodedInputStream class

java.lang.Object
   +----borland.jbcl.io.SimpleCharInputStream
           +----borland.jbcl.io.EncodedInputStream

About the EncodedInputStream class

Constructors  Properties  Methods  

An implementation of SimpleCharInputStream that is optimized for data where most of the characters belong to the specified character set. Other characters are assumed to be encoded in Unicode escapes.


EncodedInputStream constructors

EncodedInputStream properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

EncodedInputStream methods

Methods implemented in this class

Methods implemented in borland.jbcl.io.SimpleCharInputStream

Methods implemented in java.lang.Object


EncodedInputStream constructors

EncodedInputStream(java.io.InputStream)

  public EncodedInputStream(java.io.InputStream in)
Creates a new buffered stream with the default encoding and with a default buffer size.

Parameters:

in
The input stream.

EncodedInputStream(java.io.InputStream, java.lang.String)

  public EncodedInputStream(java.io.InputStream in, java.lang.String encoding)
Creates a new buffered stream with the specified encoding and with a default buffer size.

Parameters:

in
The input stream.

EncodedInputStream(java.io.InputStream, java.lang.String, int)

  public EncodedInputStream(java.io.InputStream in, java.lang.String encoding, int size)
Creates a new buffered stream with the specified buffer size.

Parameters:

in
The input stream.
size
The buffer size.

EncodedInputStream methods

close()

  public void close()

Overrides: borland.jbcl.io.SimpleCharInputStream.close()

read()

  public int read()

Overrides: borland.jbcl.io.SimpleCharInputStream.read()

unread(int)

  public void unread(int undoChar)

Overrides: borland.jbcl.io.SimpleCharInputStream.unread(int)