Class FileTools
java.lang.Object
de.danielnaber.jwordsplitter.tools.FileTools
Helper methods.
- Author:
- Sven Abels, Daniel Naber
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringloadFile(InputStream inputStream, String charset) loadFileToSet(InputStream is, String charset) Load a file and return each line, lowercased, as an entry in a HashSet.
-
Method Details
-
loadFileToSet
Load a file and return each line, lowercased, as an entry in a HashSet.- Throws:
IOException
-
loadFile
- Throws:
IOException
-