org.olat.core.util.vfs.filters
Class VFSItemExcludePrefixFilter
java.lang.Object
org.olat.core.util.vfs.filters.VFSItemExcludePrefixFilter
- All Implemented Interfaces:
- VFSItemFilter
public class VFSItemExcludePrefixFilter
- extends java.lang.Object
- implements VFSItemFilter
Description:
The VFSItemExcludePrefixFilter filters VFSItems that start with the given prefixes.
Note that this is not restricted to VFSLeaves, it does also filter
VFSContainers!
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VFSItemExcludePrefixFilter
public VFSItemExcludePrefixFilter(java.lang.String[] prefixes)
- Constrtuctor
- Parameters:
prefixes -
addExcludedPrefix
public void addExcludedPrefix(java.lang.String prefix)
- Parameters:
prefix -
removeSuffix
public void removeSuffix(java.lang.String prefix)
- Parameters:
prefix -
accept
public boolean accept(VFSItem vfsItem)
- Description copied from interface:
VFSItemFilter
- Return true if this item is accepted by this filter.
- Specified by:
accept in interface VFSItemFilter
- Returns:
- See Also:
VFSItemFilter.accept(org.olat.core.util.vfs.VFSItem)