|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.taglib.size.AbstractSizeCalculator
org.apache.jackrabbit.taglib.size.SimpleSizeCalculator
SizeCalculator for testing purposes.
Field Summary |
Fields inherited from class org.apache.jackrabbit.taglib.size.AbstractSizeCalculator |
unit |
Fields inherited from interface org.apache.jackrabbit.taglib.size.SizeCalculator |
BITS, BYTES, GIGABYTES, KILOBYTES, MEGABYTES |
Constructor Summary | |
SimpleSizeCalculator()
Constructor |
Method Summary | |
double |
getSize(javax.jcr.Node node)
Calculate the size of the given node. |
double |
getSize(javax.jcr.Property property)
Calculate the size of the given property. |
Methods inherited from class org.apache.jackrabbit.taglib.size.AbstractSizeCalculator |
convert, setUnit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleSizeCalculator()
Method Detail |
public double getSize(javax.jcr.Node node)
SizeCalculator
node
-
public double getSize(javax.jcr.Property property)
SizeCalculator
property
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |