Class Size
- java.lang.Object
- 
- org.apache.tools.ant.types.resources.selectors.Size
 
- 
- All Implemented Interfaces:
- ResourceSelector
 
 public class Size extends java.lang.Object implements ResourceSelector Size ResourceSelector.- Since:
- Ant 1.7
 
- 
- 
Constructor SummaryConstructors Constructor Description Size()
 - 
Method SummaryModifier and Type Method Description longgetSize()Get the size compared to by this Size ResourceSelector.ComparisongetWhen()Get the comparison mode.booleanisSelected(Resource r)Return true if this Resource is selected.voidsetSize(long l)Set the size to compare against.voidsetWhen(Comparison c)Set the comparison mode.
 
- 
- 
- 
Method Detail- 
setSizepublic void setSize(long l) Set the size to compare against.- Parameters:
- l- the long resource size.
 
 - 
getSizepublic long getSize() Get the size compared to by this Size ResourceSelector.- Returns:
- the long resource size.
 
 - 
setWhenpublic void setWhen(Comparison c) Set the comparison mode.- Parameters:
- c- a Comparison object.
 
 - 
getWhenpublic Comparison getWhen() Get the comparison mode.- Returns:
- a Comparison object.
 
 - 
isSelectedpublic boolean isSelected(Resource r) Return true if this Resource is selected.- Specified by:
- isSelectedin interface- ResourceSelector
- Parameters:
- r- the Resource to check.
- Returns:
- whether the Resource was selected.
 
 
- 
 
-