its.util
Class IntProperty

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

public class IntProperty
extends java.lang.Object
implements PropertyParser

Example subclass of PropertyParser. Can be used to enforce correct formatting of numeric entries in a properties file.


Constructor Summary
IntProperty()
           
 
Method Summary
 int intValue()
           
 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

IntProperty

public IntProperty()
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

intValue

public int intValue()