org.geotools.misc
Class FormatedString

java.lang.Object
  extended by org.geotools.misc.FormatedString

public class FormatedString
extends java.lang.Object

a utlity class to format numbers into strings. specify a length and number of decimal places.

Author:
ian turton

Constructor Summary
FormatedString()
           
 
Method Summary
static java.lang.String format(double d)
           
static java.lang.String format(int i)
           
static java.lang.String format(int i, int len)
           
static java.lang.String format(java.lang.String in)
           
static java.lang.String format(java.lang.String in, int dp)
           
static java.lang.String format(java.lang.String in, int dp, int len)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatedString

public FormatedString()
Method Detail

format

public static final java.lang.String format(double d)

format

public static final java.lang.String format(int i)

format

public static final java.lang.String format(int i,
                                            int len)

format

public static final java.lang.String format(java.lang.String in)

format

public static final java.lang.String format(java.lang.String in,
                                            int dp,
                                            int len)

format

public static final java.lang.String format(java.lang.String in,
                                            int dp)

main

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