public class SimpleNonConfigIniFile extends AbstractNonConfigIniFile
set(String, String, Object)| Constructor and Description |
|---|
SimpleNonConfigIniFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
addList(String sectionName,
String prefix,
List<? extends Object> values) |
void |
addSection(String sectionName,
Map<String,Object> section) |
Set<Map.Entry<String,Map<String,Object>>> |
entrySet() |
Object |
get(String section,
String param)
Get the object stored in section/param in the IniFile.
|
Object |
get(String section,
String param,
Object ifNull)
Get the object stored in section/param in the IniFile.
|
Map<String,Object> |
getSection(String section)
Returns all the values stored in the section.
|
Object |
remove(String section,
String paramName)
Removes the value at the given section/paramName.
|
void |
set(String section,
String paramName,
boolean booleanValue) |
void |
set(String section,
String paramName,
int intValue) |
void |
set(String section,
String paramName,
Object value) |
getBoolean, getBoolean, getCensoredString, getFloat, getFloat, getInt, getInt, getList, getList, getString, getString, getStringThrowpublic Object get(String section, String param)
NonConfigIniFilesection - the section to look in.param - the param name to look for.public Object get(String section, String param, Object ifNull)
BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the object to return if no value was found.public Map<String,Object> getSection(String section)
NonConfigIniFilesection - the section to return.public Object remove(String section, String paramName)
public Set<Map.Entry<String,Map<String,Object>>> entrySet()
entrySet in interface BaseNonConfigIniFileentrySet in class AbstractNonConfigIniFileCopyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.