Class IniProperty

java.lang.Object
net.sf.antcontrib.inifile.IniProperty
All Implemented Interfaces:
IniPart

public class IniProperty extends Object implements IniPart
A single property in an IniSection.
Author:
Matthew Inger
  • Constructor Details

    • IniProperty

      public IniProperty()
      Default constructor
    • IniProperty

      public IniProperty(String name, String value)
      Construct an IniProperty with a certain name and value
      Parameters:
      name - The name of the property
      value - The property value
  • Method Details

    • getName

      public String getName()
      Gets the name of the property
    • setName

      public void setName(String name)
      Sets the name of the property
      Parameters:
      name - The name of the property
    • getValue

      public String getValue()
      Gets the value of the property
    • setValue

      public void setValue(String value)
      Sets the value of the property
      Parameters:
      value - the value of the property
    • write

      public void write(Writer writer) throws IOException
      Write this property to a writer object.
      Specified by:
      write in interface IniPart
      Parameters:
      writer -
      Throws:
      IOException