its.util
Class StringProperty

java.lang.Object
  extended byits.util.StringProperty
All Implemented Interfaces:
PropertyParser

public class StringProperty
extends java.lang.Object
implements PropertyParser

Simplest possible implementation of PropertyParser. StringProperty objects are automatically created by the Properties3 constructor for properties that have not been specified otherwise. If you want to enforce the existence of a property, but don't need any special behavior besides toString(), just map the property name to a new instance of StringProperty when calling the Properties3 constructor.


Constructor Summary
StringProperty()
           
 
Method Summary
 void parse(java.lang.String text, java.util.Hashtable delimit)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringProperty

public StringProperty()
Method Detail

parse

public void parse(java.lang.String text,
                  java.util.Hashtable delimit)
           throws PropertyParserException
Specified by:
parse in interface PropertyParser
Throws:
PropertyParserException

toString

public java.lang.String toString()
Specified by:
toString in interface PropertyParser