Opens this filename for reading text. TODO(harryh): the below note makes this not properly implement FileObject but I'm intentionally leaving it this way for now, because I think this is better. Might have to revisit this decision later.
The {@code Writer} returned will throw a {@link java.nio.charset.UnmappableCharacterException} if unmappable characters(ie: characters that do not exist in the specified encoding) are written to it.
Gets a reader for this object. The returned reader will replace bytes that cannot be decoded with the default translation character. In addition, the reader may report a diagnostic unless {@code ignoreEncodingErrors} is true.
@param ignoreEncodingErrors ignore encoding errors if true
@return a Reader
@throws IllegalStateException if this file object wasopened for writing and does not support reading
@throws UnsupportedOperationException if this kind offile object does not support character access
@throws IOException if an I/O error occurred
Open a reader that will not be seeked giving an initial seek location. This is useful for file operations that only need to scan data within a range and do not need to seek. Therefore file metadata such as indexes does not need to be kept in memory while the file is scanned. Also seek optimizations like bloom filters do not need to be loaded.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.