org.progeeks.meta.format
Class MonthFormat
java.lang.Object
org.progeeks.meta.format.AbstractPropertyFormat
org.progeeks.meta.format.MonthFormat
- All Implemented Interfaces:
- PropertyFormat
public class MonthFormat
- extends AbstractPropertyFormat
Given an integer value representing the month, this will format
it as a string month name.
- Version:
- $Revision: 1.5 $
- Author:
- Paul Speed
Method Summary |
java.lang.String |
format(java.lang.Object obj)
Returns the formatted String for the specified Object. |
java.lang.Object |
parseObject(java.lang.String source,
int index)
Parses the text starting at the specified index and converts
it into an Object of the appropriate type. |
java.lang.String |
toString()
String summary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MonthFormat
public MonthFormat()
format
public java.lang.String format(java.lang.Object obj)
- Returns the formatted String for the specified Object.
- Specified by:
format
in interface PropertyFormat
- Specified by:
format
in class AbstractPropertyFormat
parseObject
public java.lang.Object parseObject(java.lang.String source,
int index)
- Parses the text starting at the specified index and converts
it into an Object of the appropriate type.
- Specified by:
parseObject
in interface PropertyFormat
- Specified by:
parseObject
in class AbstractPropertyFormat
toString
public java.lang.String toString()
- String summary.
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2003 Paul Speed. All Rights Reserved.