net.sf.antcontrib.inifile
Class IniProperty
java.lang.Object
net.sf.antcontrib.inifile.IniProperty
- IniPart
public class IniProperty
extends java.lang.Object
A single property in an IniSection.
IniProperty() -
Default constructor
|
IniProperty(String name, String value) -
Construct an IniProperty with a certain name and value
|
String | getName() -
Gets the name of the property
|
String | getValue() -
Gets the value of the property
|
void | setName(String name) -
Sets the name of the property
|
void | setValue(String value) -
Sets the value of the property
|
void | write(Writer writer) -
Write this property to a writer object.
|
IniProperty
public IniProperty()
Default constructor
IniProperty
public IniProperty(String name,
String value)
Construct an IniProperty with a certain name and value
name
- The name of the propertyvalue
- The property value
getName
public String getName()
Gets the name of the property
getValue
public String getValue()
Gets the value of the property
setName
public void setName(String name)
Sets the name of the property
name
- The name of the property
setValue
public void setValue(String value)
Sets the value of the property
value
- the value of the property
write
public void write(Writer writer)
throws IOException
Write this property to a writer object.
- write in interface IniPart