org.apache.tools.ant.types.resources.selectors
Class Size
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Size
- ResourceSelector
public class Size
extends java.lang.Object
Size ResourceSelector.
getSize
public long getSize()
Get the size compared to by this Size ResourceSelector.
getWhen
public Comparison getWhen()
Get the comparison mode.
isSelected
public boolean isSelected(Resource r)
Return true if this Resource is selected.
- isSelected in interface ResourceSelector
r
- the Resource to check.
- whether the Resource was selected.
setSize
public void setSize(long l)
Set the size to compare against.
l
- the long resource size.
setWhen
public void setWhen(Comparison c)
Set the comparison mode.