public class UTF8Reader extends InputStreamReader
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
static String |
ENCODING |
| Constructor and Description |
|---|
UTF8Reader(File file) |
UTF8Reader(InputStream in) |
UTF8Reader(String filename) |
| Modifier and Type | Method and Description |
|---|---|
String |
readString() |
close, getEncoding, read, read, readypublic static final String ENCODING
public static final int BUFFER_SIZE
public UTF8Reader(InputStream in) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic UTF8Reader(String filename) throws FileNotFoundException, UnsupportedEncodingException
public UTF8Reader(File file) throws FileNotFoundException, UnsupportedEncodingException
public String readString() throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionCopyright © 2016 The American National Corpus. All rights reserved.