Package net.sf.antcontrib.inifile
Class IniProperty
java.lang.Object
net.sf.antcontrib.inifile.IniProperty
- All Implemented Interfaces:
IniPart
A single property in an IniSection.
- Author:
- Matthew Inger
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorIniProperty(String name, String value) Construct an IniProperty with a certain name and value -
Method Summary
-
Constructor Details
-
IniProperty
public IniProperty()Default constructor -
IniProperty
Construct an IniProperty with a certain name and value- Parameters:
name- The name of the propertyvalue- The property value
-
-
Method Details
-
getName
Gets the name of the property -
setName
Sets the name of the property- Parameters:
name- The name of the property
-
getValue
Gets the value of the property -
setValue
Sets the value of the property- Parameters:
value- the value of the property
-
write
Write this property to a writer object.- Specified by:
writein interfaceIniPart- Parameters:
writer-- Throws:
IOException
-