public class UnicodeReader extends LineNumberReader
BufferedReader
implementation which analyzes the
underlying InputStream
for byte order marks and selects the
appropriate Charset
.BOMCharsetMap
Constructor and Description |
---|
UnicodeReader(File file) |
UnicodeReader(InputStream in) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getLineNumber, mark, read, read, readLine, reset, setLineNumber, skip
close, lines, markSupported, ready
public UnicodeReader(File file) throws FileNotFoundException
file
- The File
to open.FileNotFoundException
- If the File
is not found.public UnicodeReader(InputStream in)
in
- The underlying InputStream
.Copyright © 2015–2020 Allen D. Ball. All rights reserved.