|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Common.Format
Constructor Summary | |
Format()
|
Method Summary | |
static java.lang.String |
bytesToIP(byte[] ipBytes)
|
static java.lang.String |
doubleFormatKill(double value,
int decimals,
int killDecimals)
|
static byte[] |
IPtoBytes(java.lang.String ip)
|
static java.lang.String |
zeroPadded(long value,
int width)
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Format()
Method Detail |
public static java.lang.String doubleFormatKill(double value, int decimals, int killDecimals)
killDecimals
- If value
is larger than killDecimals
all decimals are removed.public static java.lang.String zeroPadded(long value, int width)
public static byte[] IPtoBytes(java.lang.String ip)
public static java.lang.String bytesToIP(byte[] ipBytes)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |