Package sonia.scm.io
Class INIConfiguration
java.lang.Object
sonia.scm.io.INIConfiguration
Configuration in the ini format.
The format consists of sections, keys and values.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSection
(INISection section) Add a new section to the configuration.getSection
(String name) Returns a section by its name ornull
if the section does not exists.Returns all sections of the configuration.void
removeSection
(String name) Remove an existing section from the configuration.
-
Constructor Details
-
INIConfiguration
public INIConfiguration()
-
-
Method Details
-
addSection
Add a new section to the configuration. -
removeSection
Remove an existing section from the configuration. -
getSection
Returns a section by its name ornull
if the section does not exists.- Parameters:
name
- name of the section- Returns:
- section or null
-
getSections
Returns all sections of the configuration.
-