public final class FileTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
loadFile(InputStream inputStream,
String charset) |
static Set<String> |
loadFileToSet(InputStream is,
String charset)
Load a file and return each line, lowercased, as an entry in a HashSet.
|
public static Set<String> loadFileToSet(InputStream is, String charset) throws IOException
IOExceptionpublic static String loadFile(InputStream inputStream, String charset) throws IOException
IOExceptionCopyright © 2021. All rights reserved.