public abstract class AbstractNonConfigIniFile extends Object implements NonConfigIniFile
| Constructor and Description |
|---|
AbstractNonConfigIniFile() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<Map.Entry<String,Map<String,Object>>> |
entrySet() |
boolean |
getBoolean(String section,
String param)
Get the value stored in section/param in the IniFile as a boolean.
|
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)
Gets the value stored in the section/param as a float.
|
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)
Get the value stored in section/param in the IniFile as an int.
|
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)
Get a list of values stored in section/param in the IniFile.
|
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)
Get the value stored in section/param in the IniFile as a string.
|
String |
getString(String section,
String param,
String ifNull)
Get the value stored in section/param in the IniFile as a string.
|
String |
getStringThrow(String section,
String param)
Get the value stored in section/param in the IniFile as a string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getSectiongetpublic List<String> getList(String section, String param)
NonConfigIniFilegetList in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public List<String> getList(String section, String param, List<String> ifNull)
BaseNonConfigIniFilegetList in interface BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the list to return if no list was found.public boolean getBoolean(String section, String param)
NonConfigIniFilegetBoolean in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public boolean getBoolean(String section, String param, boolean ifNull)
BaseNonConfigIniFilegetBoolean in interface BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the boolean to default to.public float getFloat(String section, String param)
NonConfigIniFilegetFloat in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public float getFloat(String section, String param, float ifNull)
BaseNonConfigIniFilegetFloat in interface BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the float to default topublic int getInt(String section, String param)
NonConfigIniFilegetInt in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public int getInt(String section, String param, int ifNull)
BaseNonConfigIniFilegetInt in interface BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the int to default to.public String getString(String section, String param)
NonConfigIniFilegetString in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public String getCensoredString(String section, String param, String ifNull)
BaseNonConfigIniFilegetCensoredString in interface BaseNonConfigIniFilesection - the section to look in.param - the param name to look for.ifNull - the default value to use.public String getStringThrow(String section, String param)
NonConfigIniFilegetStringThrow in interface NonConfigIniFilesection - the section to look in.param - the param name to look for.public String getString(String section, String param, String ifNull)
BaseNonConfigIniFilegetString in interface BaseNonConfigIniFilesection - 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.