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