public class TextFileReader extends Object
| Constructor and Description |
|---|
TextFileReader() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
readFile(String path) |
String |
readFileAsSingleString(String path)
Read file and return contents as single string
|
List<String> |
ReadFileStream(InputStream istr) |
public String readFileAsSingleString(String path)
path - to be readpublic List<String> readFile(String path)
path - file to be readpublic List<String> ReadFileStream(InputStream istr) throws IOException
IOExceptionCopyright © 2020. All rights reserved.