java.io
Class CharArrayReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.CharArrayReader

public synchronized class CharArrayReader
extends Reader


Field Summary
protected  char[] buf
           
protected  int count
           
protected  int markedPos
           
protected  int pos
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
CharArrayReader(char[])
           
CharArrayReader(char[], int, int)
           
 
Method Summary
 void close()
           
 void mark(int)
           
 boolean markSupported()
           
 int read()
           
 int read(char[], int, int)
           
 boolean ready()
           
 void reset()
           
 long skip(long)
           
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Field Detail

buf

protected char[] buf

pos

protected int pos

markedPos

protected int markedPos

count

protected int count
Constructor Detail

CharArrayReader

public CharArrayReader(char[])

CharArrayReader

public CharArrayReader(char[],
                       int,
                       int)
Method Detail

read

public int read()
         throws IOException
Overrides:
read in class Reader
IOException

read

public int read(char[],
                int,
                int)
         throws IOException
Specified by:
read in class Reader
IOException

skip

public long skip(long)
          throws IOException
Overrides:
skip in class Reader
IOException

ready

public boolean ready()
              throws IOException
Overrides:
ready in class Reader
IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class Reader

mark

public void mark(int)
          throws IOException
Overrides:
mark in class Reader
IOException

reset

public void reset()
           throws IOException
Overrides:
reset in class Reader
IOException

close

public void close()
Specified by:
close in class Reader