Package com.sun.xfile

Class XFileReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, 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
    • Method Summary

      • Methods inherited from class java.io.InputStreamReader

        close, getEncoding, read, read, ready
      • Methods inherited from class java.io.Reader

        mark, markSupported, nullReader, read, read, reset, skip, transferTo
      • 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