|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.application.areca.filter.FilterGroup
public class FilterGroup
Constructor Summary | |
---|---|
FilterGroup()
|
Method Summary | |
---|---|
boolean |
acceptElement(java.io.File element)
Tell whether the iterator will return the element to the caller |
boolean |
acceptIteration(java.io.File entry)
Accepts (or refuses) an entry |
void |
acceptParameters(java.lang.String parameters)
Parses the string provided as argument and inits the filter |
boolean |
acceptStorage(java.io.File entry)
Accepts (or refuses) an entry |
void |
addFilter(ArchiveFilter f)
Adds a filter and recomputes the cached values for the "doesExclusionApplyToChildrenImpl" method. |
Duplicable |
duplicate()
Create a copy of the Duplicable |
boolean |
equals(java.lang.Object obj)
|
java.util.Iterator |
getFilterIterator()
|
java.lang.String |
getStringParameters()
Returns the filter's parameters as a String |
int |
hashCode()
|
boolean |
isAnd()
|
boolean |
isExclude()
Indique si le filtre fonctionne en inclusion ou exclusion |
void |
remove(ArchiveFilter filter)
|
boolean |
requiresParameters()
Tells wether the filter needs to be parametrized or not |
void |
setAnd(boolean isAnd)
|
void |
setExclude(boolean exclude)
Indique si le filtre fonctionne en inclusion ou exclusion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterGroup()
Method Detail |
---|
public void addFilter(ArchiveFilter f)
public java.util.Iterator getFilterIterator()
public boolean isAnd()
public void setAnd(boolean isAnd)
public boolean acceptIteration(java.io.File entry)
acceptIteration
in interface ArchiveFilter
acceptIteration
in interface FileSystemIteratorFilter
public boolean acceptStorage(java.io.File entry)
acceptStorage
in interface ArchiveFilter
public boolean acceptElement(java.io.File element)
FileSystemIteratorFilter
acceptElement
in interface FileSystemIteratorFilter
public void remove(ArchiveFilter filter)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Duplicable duplicate()
Duplicable
duplicate
in interface Duplicable
public boolean isExclude()
ArchiveFilter
isExclude
in interface ArchiveFilter
public boolean requiresParameters()
ArchiveFilter
requiresParameters
in interface ArchiveFilter
public java.lang.String getStringParameters()
ArchiveFilter
getStringParameters
in interface ArchiveFilter
public void acceptParameters(java.lang.String parameters)
ArchiveFilter
acceptParameters
in interface ArchiveFilter
public void setExclude(boolean exclude)
ArchiveFilter
setExclude
in interface ArchiveFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |