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()
ConfigFile
getFilename
in interface ConfigFile
public Map<String,List<String>> getCategories()
ConfigFile
getCategories
in interface ConfigFile
public String getValue(String category, String key)
getValue
in interface ConfigFile
Copyright © 2004–2020. All rights reserved.