|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jfilesync.util.TStringTool
public class TStringTool
| Field Summary | |
|---|---|
private static java.text.NumberFormat |
format
|
| Constructor Summary | |
|---|---|
TStringTool()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
formatDouble(double d,
int fractionDigits)
|
static java.lang.String |
formatDouble(double d,
int fractionDigits,
int length)
This method formats a double value according to the specification of a string length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.text.NumberFormat format
| Constructor Detail |
|---|
public TStringTool()
| Method Detail |
|---|
public static java.lang.String formatDouble(double d,
int fractionDigits,
int length)
d - double valuefractionDigits - number of fraction digitslength - fixed length of output string
public static java.lang.String formatDouble(double d,
int fractionDigits)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||