com.sun.xfile
Class XFileReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.InputStreamReader
          extended by com.sun.xfile.XFileReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class XFileReader
extends java.io.InputStreamReader

Convenience class for reading character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are appropriate. To specify these values yourself, construct an InputStreamReader on a FileInputStream.

See Also:
InputStreamReader, XFileInputStream

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
XFileReader(java.lang.String fileName)
           
XFileReader(XFile file)
           
 
Method Summary
 
Methods inherited from class java.io.InputStreamReader
close, getEncoding, read, read, ready
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XFileReader

public XFileReader(java.lang.String fileName)
            throws java.io.IOException
Throws:
java.io.IOException

XFileReader

public XFileReader(XFile file)
            throws java.io.IOException
Throws:
java.io.IOException