net.sf.fikin.pojostate.format
Class DefaultFormat

java.lang.Object
  extended by java.text.Format
      extended by net.sf.fikin.pojostate.format.DefaultFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DefaultFormat
extends java.text.Format

Implementation of java.text.Format failing to object's own toString() method. created on Jul 6, 2005

Since:
Version:
$Revision: 1.1 $
Author:
fiykov
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
java.text.Format.Field
 
Constructor Summary
DefaultFormat()
           
 
Method Summary
 java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
          is obj is not null fails to obj.toStirng() otherwise ignores.
 java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
          not supported method
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFormat

public DefaultFormat()
Method Detail

parseObject

public java.lang.Object parseObject(java.lang.String source,
                                    java.text.ParsePosition pos)
not supported method

Specified by:
parseObject in class java.text.Format

format

public java.lang.StringBuffer format(java.lang.Object obj,
                                     java.lang.StringBuffer toAppendTo,
                                     java.text.FieldPosition pos)
is obj is not null fails to obj.toStirng() otherwise ignores.

Specified by:
format in class java.text.Format


Copyright © 2005 Nikolay Fiykov. All Rights Reserved.