|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.util.FileUtils
Common File
manipulation routines.
Field Summary | |
static int |
ONE_GB
The number of bytes in a gigabyte. |
static int |
ONE_KB
The number of bytes in a kilobyte. |
static int |
ONE_MB
The number of bytes in a megabyte. |
Constructor Summary | |
FileUtils()
|
Method Summary | |
static java.lang.String |
byteCountToDisplaySize(int size)
Returns a human-readable version of the file size (original is in bytes). |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int ONE_KB
public static final int ONE_MB
public static final int ONE_GB
Constructor Detail |
public FileUtils()
Method Detail |
public static java.lang.String byteCountToDisplaySize(int size)
size
- The number of bytes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |