|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number uic.lang.FileSize
public class FileSize
Constructor Summary | |
---|---|
FileSize(long size)
|
|
FileSize(String size)
|
Method Summary | |
---|---|
byte |
byteValue()
Returns the value of the specified number as a byte. |
int |
compareTo(Object other)
|
double |
doubleValue()
Returns the value of the specified number as a double. |
float |
floatValue()
Returns the value of the specified number as a float. |
int |
intValue()
Returns the value of the specified number as an int. |
long |
longValue()
Returns the value of the specified number as a long. |
short |
shortValue()
|
String |
toString()
|
static FileSize |
valueOf(long size)
|
static FileSize |
valueOf(String size)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileSize(String size)
public FileSize(long size)
Method Detail |
---|
public String toString()
toString
in class Object
public byte byteValue()
byteValue
in class Number
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public int intValue()
intValue
in class Number
public long longValue()
longValue
in class Number
public short shortValue()
shortValue
in class Number
public int compareTo(Object other)
compareTo
in interface Comparable
public static FileSize valueOf(String size)
public static FileSize valueOf(long size)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |