|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IniSection in org.dtools.ini |
---|
Subclasses of IniSection in org.dtools.ini | |
---|---|
class |
AdvancedIniSection
This implementation of the IniSection interface offers faster
performance compared with the BasicIniSection implementation,
but at the expense of greater memory usage. |
class |
BasicIniSection
A basic\simple implementation of the IniSection
interface. |
Methods in org.dtools.ini that return IniSection | |
---|---|
IniSection |
IniFile.addSection(String sectionName)
Adds a section to this INI file. |
IniSection |
IniFile.addSection(String sectionName,
int index)
Adds a new section to this INI file which has the given name. |
protected IniSection |
AdvancedIniFile.createSection(String name)
|
protected IniSection |
BasicIniFile.createSection(String name)
|
protected abstract IniSection |
IniFile.createSection(String name)
This method creates and returns a new instance of an IniSection with the same IniValidator and case
sensitivity as this object. |
IniSection |
AdvancedIniFile.getSection(int index)
|
IniSection |
BasicIniFile.getSection(int index)
|
abstract IniSection |
IniFile.getSection(int index)
Get the section which is at the given index. |
IniSection |
IniFile.getSection(String name)
Returns the section that is called name , or null if no such
section exists. |
IniSection |
IniFile.removeSection(int index)
Removes a section from the IniFile. |
IniSection |
IniFile.removeSection(String name)
Removes a section from the IniFile. |
Methods in org.dtools.ini that return types with arguments of type IniSection | |
---|---|
Collection<IniSection> |
AdvancedIniFile.getSections()
|
Collection<IniSection> |
BasicIniFile.getSections()
|
abstract Collection<IniSection> |
IniFile.getSections()
Gets a collection of all the sections within this INI file. |
Iterator<IniSection> |
AdvancedIniFile.iterator()
|
Iterator<IniSection> |
BasicIniFile.iterator()
|
Collection<IniSection> |
IniFile.removeSections(String[] names)
Removes all the sections whose names are in the given array. |
Methods in org.dtools.ini with parameters of type IniSection | |
---|---|
boolean |
IniFile.addOrMergeSection(IniSection otherSection)
This method adds the given section to the end of the IniFile if a section with the same name does not already exist. |
boolean |
IniFile.addSection(IniSection section)
This method adds the given IniSection to the
IniFile providing that there are no existing sections with
the same name as the given IniSection . |
boolean |
AdvancedIniFile.addSection(IniSection section,
int index)
|
boolean |
BasicIniFile.addSection(IniSection section,
int index)
|
abstract boolean |
IniFile.addSection(IniSection section,
int index)
Adds a section to this INI file. |
boolean |
IniFile.hasSection(IniSection section)
Predicate that returns true if this IniFile has a given section. |
int |
AdvancedIniFile.indexOf(IniSection section)
|
int |
BasicIniFile.indexOf(IniSection section)
|
abstract int |
IniFile.indexOf(IniSection section)
Get the index of the given section, where 0 is the index is the first section. |
static boolean |
IniUtilities.isDisjoint(IniSection s1,
IniSection s2)
This predicate tests to see if the two given IniSections are disjoint, that is, that they do not contain any Items with the same name. |
boolean |
AdvancedIniSection.merge(IniSection otherSection)
|
boolean |
IniSection.merge(IniSection otherSection)
This method merges another IniSection to this section. |
boolean |
AdvancedIniFile.removeSection(IniSection section)
|
boolean |
BasicIniFile.removeSection(IniSection section)
|
abstract boolean |
IniFile.removeSection(IniSection section)
Removes the given section only if the section is within this IniFile |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |