net.sf.antcontrib.inifile
public class IniSection extends Object implements IniPart
| Constructor Summary | |
|---|---|
| IniSection()
Default contructor, constructs an IniSectino with no name | |
| IniSection(String name)
Constructs an IniSection with the given name | |
| Method Summary | |
|---|---|
| String | getName()
Gets the name of the section |
| List | getProperties()
Gets a list of all properties in this section |
| IniProperty | getProperty(String name)
Gets the property with the given name |
| void | removeProperty(String name)
Removes a property from this ection |
| void | setName(String name)
Sets the name of the section |
| void | setProperty(IniProperty property)
Sets a property, replacing the old value, if necessary. |
| void | write(Writer writer) |
Parameters: name The name of the section
Returns: A List of IniProperty objects
Parameters: name The name of the property
Parameters: name The name of the property to remove
Parameters: name The name of the section
Parameters: property The property to set