| Constructor and Description |
|---|
PlainTextFileReader(File file)
Create a new loader for a given file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
call() |
String |
read(File file)
Performs the actual input stream reading.
|
private void |
validate()
Validates the content of the file to be text.
|
private File file
public PlainTextFileReader(File file)
file - public String read(File file) throws IOException
file - IOExceptionprivate void validate()
throws UnsupportedMIMETypeException
UnsupportedMIMETypeExceptionCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.