|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.taglib.size.AbstractSizeCalculator
Superclass of SizeCalculator
Field Summary | |
protected int |
unit
Unit |
Fields inherited from interface org.apache.jackrabbit.taglib.size.SizeCalculator |
BITS, BYTES, GIGABYTES, KILOBYTES, MEGABYTES |
Constructor Summary | |
AbstractSizeCalculator()
|
Method Summary | |
protected double |
convert(long size,
int unit)
Unit conversion |
void |
setUnit(int unit)
Sets the unit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.taglib.size.SizeCalculator |
getSize, getSize |
Field Detail |
protected int unit
Constructor Detail |
public AbstractSizeCalculator()
Method Detail |
protected double convert(long size, int unit)
unit
-
public void setUnit(int unit)
SizeCalculator
setUnit
in interface SizeCalculator
unit
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |