it.amattioli.encapsulate.range
Class NumericRangeFormat

Show UML class diagram
java.lang.Object
  extended by java.text.Format
      extended by it.amattioli.encapsulate.range.NumericRangeFormat
All Implemented Interfaces:
Serializable, Cloneable

public class NumericRangeFormat
extends Format

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
Format.Field
 
Method Summary
 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
           
static NumericRangeFormat getInstance()
           
static NumericRangeFormat getInstance(Locale locale)
           
 Object parseObject(String source, ParsePosition pos)
           
 
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
 

Method Detail

getInstance

public static NumericRangeFormat getInstance()

getInstance

public static NumericRangeFormat getInstance(Locale locale)

format

public StringBuffer format(Object obj,
                           StringBuffer toAppendTo,
                           FieldPosition pos)
Specified by:
format in class Format

parseObject

public Object parseObject(String source,
                          ParsePosition pos)
Specified by:
parseObject in class Format


Copyright © 2011. All Rights Reserved.