electric.util.io
Class FastBufferedReader

java.lang.Object
  extended byjava.io.Reader
      extended byelectric.util.io.FastBufferedReader

public final class FastBufferedReader
extends java.io.Reader

FastBufferedReader is a fast version of BufferedReader.


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
FastBufferedReader(java.io.Reader reader)
           
FastBufferedReader(java.io.Reader reader, int size)
           
 
Method Summary
 void close()
           
 void mark(int readAheadLimit)
           
 boolean markSupported()
           
 int read()
           
 int read(char[] cbuf, int offset, int length)
           
 boolean ready()
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastBufferedReader

public FastBufferedReader(java.io.Reader reader,
                          int size)
Parameters:
reader -
size -

FastBufferedReader

public FastBufferedReader(java.io.Reader reader)
Parameters:
reader -
Method Detail

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(char[] cbuf,
                int offset,
                int length)
         throws java.io.IOException
Parameters:
cbuf -
offset -
length -
Throws:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
Parameters:
n -
Throws:
java.io.IOException

ready

public boolean ready()
              throws java.io.IOException
Throws:
java.io.IOException

markSupported

public boolean markSupported()

mark

public void mark(int readAheadLimit)
Parameters:
readAheadLimit -

reset

public void reset()
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


copyright© 2001-2004 by webMethods All Rights Reserved.