public class ConfigFileImpl extends Object implements ConfigFile
| Constructor and Description |
|---|
ConfigFileImpl(String filename,
Map<String,List<String>> categories) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getCategories()
Returns the lines per category.
|
String |
getFilename()
Returns the filename.
|
String |
getValue(String category,
String key) |
List<String> |
getValues(String category,
String key) |
public String getFilename()
ConfigFilegetFilename in interface ConfigFilepublic Map<String,List<String>> getCategories()
ConfigFilegetCategories in interface ConfigFilepublic String getValue(String category, String key)
getValue in interface ConfigFileCopyright © 2004–2024. All rights reserved.