|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.types.resources.selectors.Size
public class Size
Size ResourceSelector.
Constructor Summary | |
---|---|
Size()
|
Method Summary | |
---|---|
long |
getSize()
Get the size compared to by this Size ResourceSelector. |
Comparison |
getWhen()
Get the comparison mode. |
boolean |
isSelected(Resource r)
Return true if this Resource is selected. |
void |
setSize(long l)
Set the size to compare against. |
void |
setWhen(Comparison c)
Set the comparison mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Size()
Method Detail |
---|
public void setSize(long l)
l
- the long resource size.public long getSize()
public void setWhen(Comparison c)
c
- a Comparison object.public Comparison getWhen()
public boolean isSelected(Resource r)
isSelected
in interface ResourceSelector
r
- the Resource to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |