org.ujmp.core.util
Class UJMPFormat

java.lang.Object
  extended by java.text.Format
      extended by org.ujmp.core.util.UJMPFormat
All Implemented Interfaces:
Serializable, Cloneable

public class UJMPFormat
extends Format

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
Format.Field
 
Constructor Summary
UJMPFormat(boolean multiLine, int width, boolean usePadding)
           
 
Method Summary
 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
           
static UJMPFormat getMultiLineInstance()
           
static UJMPFormat getSingleLineInstance()
           
 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
 

Constructor Detail

UJMPFormat

public UJMPFormat(boolean multiLine,
                  int width,
                  boolean usePadding)
Method Detail

getMultiLineInstance

public static final UJMPFormat getMultiLineInstance()

getSingleLineInstance

public static final UJMPFormat getSingleLineInstance()

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 © 2010. All Rights Reserved.