Package net.sf.antcontrib.inifile
Class IniProperty
- java.lang.Object
-
- net.sf.antcontrib.inifile.IniProperty
-
- All Implemented Interfaces:
IniPart
public class IniProperty extends java.lang.Object implements IniPart
A single property in an IniSection.- Author:
- Matthew Inger
-
-
Constructor Summary
Constructors Constructor Description IniProperty()
Default constructorIniProperty(java.lang.String name, java.lang.String value)
Construct an IniProperty with a certain name and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name of the propertyjava.lang.String
getValue()
Gets the value of the propertyvoid
setName(java.lang.String name)
Sets the name of the propertyvoid
setValue(java.lang.String value)
Sets the value of the propertyvoid
write(java.io.Writer writer)
Write this property to a writer object.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of the property
-
setName
public void setName(java.lang.String name)
Sets the name of the property- Parameters:
name
- The name of the property
-
getValue
public java.lang.String getValue()
Gets the value of the property
-
setValue
public void setValue(java.lang.String value)
Sets the value of the property- Parameters:
value
- the value of the property
-
-