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