IniPart
public class IniProperty extends java.lang.Object implements IniPart
Constructor | Description |
---|---|
IniProperty() |
Default constructor
|
IniProperty(java.lang.String name,
java.lang.String value) |
Construct an IniProperty with a certain name and value
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Gets the name of the property
|
java.lang.String |
getValue() |
Gets the value of the property
|
void |
setName(java.lang.String name) |
Sets the name of the property
|
void |
setValue(java.lang.String value) |
Sets the value of the property
|
void |
write(java.io.Writer writer) |
Write this property to a writer object.
|
public IniProperty()
public IniProperty(java.lang.String name, java.lang.String value)
name
- The name of the propertyvalue
- The property valuepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the propertypublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value of the property