com.jaxfront.core.util
Class StringFormat

java.lang.Object
  extended by java.text.Format
      extended by com.jaxfront.core.util.StringFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public final class StringFormat
extends java.text.Format

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
java.text.Format.Field
 
Field Summary
 boolean[] alternate
           
 char[] fmt
           
 int formIndex
           
 int formNum
           
 boolean[] leading_zeroes
           
 boolean[] left_align
           
 java.lang.String[] post
           
 java.lang.String[] pre
           
 int[] precision
           
 boolean[] show_plus
           
 boolean[] show_space
           
 int stringInex
           
 int[] width
           
 
Constructor Summary
StringFormat(java.lang.String s)
           
 
Method Summary
 double atof(java.lang.String s)
           
 int atoi(java.lang.String s)
           
 long atol(java.lang.String s)
           
 java.lang.String form(char c)
           
 java.lang.String form(double d)
           
 java.lang.String form(long l)
           
 java.lang.String form(java.lang.String s)
           
 java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
           
static void main(java.lang.String[] args)
           
 java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
           
 void reset()
           
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alternate

public boolean[] alternate

fmt

public char[] fmt

formIndex

public int formIndex

formNum

public int formNum

leading_zeroes

public boolean[] leading_zeroes

left_align

public boolean[] left_align

post

public java.lang.String[] post

pre

public java.lang.String[] pre

precision

public int[] precision

show_plus

public boolean[] show_plus

show_space

public boolean[] show_space

stringInex

public int stringInex

width

public int[] width
Constructor Detail

StringFormat

public StringFormat(java.lang.String s)
Method Detail

atof

public double atof(java.lang.String s)

atoi

public int atoi(java.lang.String s)

atol

public long atol(java.lang.String s)

form

public java.lang.String form(char c)

form

public java.lang.String form(double d)

form

public java.lang.String form(long l)

form

public java.lang.String form(java.lang.String s)

format

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

main

public static void main(java.lang.String[] args)

parseObject

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

reset

public void reset()