public class Size extends java.lang.Object implements ResourceSelector
Constructor and Description |
---|
Size() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.