public class FileUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN_GROUP_KEY |
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<String>> |
loadMapFromFile(InputStream is) |
static Map<String,List<String>> |
loadMapFromFile(String strRelativeFilePath)
Load map of terms from a file. keys are within brackets and terms are following on new lines each
|
static List<String> |
loadTermsFromFile(String strRelativeFilePath)
Load Terms from a file.
|
public static final Pattern PATTERN_GROUP_KEY
public static List<String> loadTermsFromFile(String strRelativeFilePath)
strRelativeFilePath - The file pathpublic static Map<String,List<String>> loadMapFromFile(String strRelativeFilePath)
strRelativeFilePath - The file pathpublic static Map<String,List<String>> loadMapFromFile(InputStream is)
Copyright © 2017 City of Paris. All rights reserved.