"

2013 FRC Java API

"

com.sun.cldc.i18n.j2me
Class ISO8859_1_Reader

java.lang.Object
  extended by java.io.Reader
      extended by com.sun.cldc.i18n.StreamReader
          extended by com.sun.cldc.i18n.j2me.ISO8859_1_Reader

public class ISO8859_1_Reader
extends StreamReader

Default class reading input streams

Version:
1.0 10/18/99

Field Summary
 
Fields inherited from class com.sun.cldc.i18n.StreamReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
ISO8859_1_Reader()
           
 
Method Summary
 int read()
          Read a single character.
 int read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.
 int sizeOf(byte[] array, int offset, int length)
          Get the size in chars of an array of bytes
 
Methods inherited from class com.sun.cldc.i18n.StreamReader
close, mark, markSupported, open, ready, reset
 
Methods inherited from class java.io.Reader
read, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO8859_1_Reader

public ISO8859_1_Reader()
Method Detail

read

public int read()
         throws IOException
Read a single character.

Overrides:
read in class Reader
Returns:
The character read, as an integer in the range 0 to 65535 (0x00-0xffff), or -1 if the end of the stream has been reached
Throws:
IOException - If an I/O error occurs

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
Read characters into a portion of an array.

Specified by:
read in class Reader
Parameters:
cbuf - Destination buffer
off - Offset at which to start storing characters
len - Maximum number of characters to read
Returns:
The number of characters read, or -1 if the end of the stream has been reached
Throws:
IOException - If an I/O error occurs

sizeOf

public int sizeOf(byte[] array,
                  int offset,
                  int length)
Get the size in chars of an array of bytes

Specified by:
sizeOf in class StreamReader

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"