IniProperty (Ant Contrib)
Keywords: net.sf.antcontrib.inifile.IniProperty class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`IniProperty()` Default constructor
`IniProperty(java.lang.String name, java.lang.String value)` Construct an IniProperty with a certain name and value

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IniProperty

    public IniProperty()

  Default constructor

### IniProperty

    public IniProperty(java.lang.String name,
                       java.lang.String value)

  Construct an IniProperty with a certain name and value

  Parameters:
    `name` - The name of the property
    `value` - The property value

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

### write

    public void write(java.io.Writer writer)
               throws java.io.IOException

  Write this property to a writer object.

  Specified by:
    `write` in interface `IniPart`
  Parameters:
    `writer` -
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD