Package nz.org.riskscape.ini
Class Section
java.lang.Object
nz.org.riskscape.ini.Section
AST for an .ini file section, comprising the header ([section]) and KeyValues beneath it
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Section
Creates a new
Sectioninstance.- Parameters:
header- The[section]part. The value of this token is the content within the brackets.members-
-
-
Method Details
-
getName
The name of the section, i.e. the content within the square brackets with leading and trailing whitespace removed.
-
toString
-
getAll
- Returns:
- all the values in this section for a given key, removing blank values. Never returns null, instead will return an empty list if the key is not defined.
-
getHeaderToken
-
getMembers
-