Class Size
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Size
- All Implemented Interfaces:
- ResourceSelector
Size ResourceSelector.
- Since:
- Ant 1.7
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Sizepublic Size()
 
- 
- 
Method Details- 
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.
 
- 
setWhenSet the comparison mode.- Parameters:
- c- a Comparison object.
 
- 
getWhenGet the comparison mode.- Returns:
- a Comparison object.
 
- 
isSelectedReturn true if this Resource is selected.- Specified by:
- isSelectedin interface- ResourceSelector
- Parameters:
- r- the Resource to check.
- Returns:
- whether the Resource was selected.
 
 
-