public interface BaseNonConfigIniFile
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,Map<String,Object>>> |
entrySet() |
Object |
get(String section,
String param,
Object ifNull)
Get the object stored in section/param in the IniFile.
|
boolean |
getBoolean(String section,
String param,
boolean ifNull)
Get the value stored in section/param in the IniFile as a boolean.
|
String |
getCensoredString(String section,
String param,
String ifNull)
Get the value stored in section/param in the IniFile as a string - may censor the
value if necessary.
|
float |
getFloat(String section,
String param,
float ifNull)
Gets the value stored in the section/param in the IniFile as a float
|
int |
getInt(String section,
String param,
int ifNull)
Get the value stored in section/param in the IniFile as an int.
|
List<String> |
getList(String section,
String param,
List<String> ifNull)
Get the list of values stored in section/param in the IniFile.
|
String |
getString(String section,
String param,
String ifNull)
Get the value stored in section/param in the IniFile as a string.
|
Object get(String section, String param, Object ifNull)
section - the section to look in.param - the param name to look for.ifNull - the object to return if no value was found.List<String> getList(String section, String param, List<String> ifNull)
section - the section to look in.param - the param name to look for.ifNull - the list to return if no list was found.boolean getBoolean(String section, String param, boolean ifNull)
section - the section to look in.param - the param name to look for.ifNull - the boolean to default to.float getFloat(String section, String param, float ifNull)
section - the section to look in.param - the param name to look for.ifNull - the float to default toint getInt(String section, String param, int ifNull)
section - the section to look in.param - the param name to look for.ifNull - the int to default to.String getCensoredString(String section, String param, String ifNull)
section - the section to look in.param - the param name to look for.ifNull - the default value to use.String getString(String section, String param, String ifNull)
section - the section to look in.param - the param name to look for.ifNull - the default value to use.Copyright (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.