public interface NonConfigIniFile extends BaseNonConfigIniFile
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String section,
String param)
Get the object stored in section/param in the IniFile.
|
boolean |
getBoolean(String section,
String param)
Get the value stored in section/param in the IniFile as a boolean.
|
float |
getFloat(String section,
String param)
Gets the value stored in the section/param as a float.
|
int |
getInt(String section,
String param)
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.
|
Map<String,Object> |
getSection(String section)
Returns all the values stored in the section.
|
String |
getString(String section,
String param)
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.
|
entrySet, get, getBoolean, getCensoredString, getFloat, getInt, getList, getStringObject get(String section, String param)
section - the section to look in.param - the param name to look for.List<String> getList(String section, String param)
section - the section to look in.param - the param name to look for.boolean getBoolean(String section, String param)
section - the section to look in.param - the param name to look for.float getFloat(String section, String param)
section - the section to look in.param - the param name to look for.int getInt(String section, String param)
section - the section to look in.param - the param name to look for.NumberFormatException - if the value wasn't a valid int.String getString(String section, String param)
section - the section to look in.param - the param name to look for.String getStringThrow(String section, String param)
section - the section to look in.param - the param name to look for.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.