Class NtFileItemFilter
java.lang.Object
org.apache.jackrabbit.vault.fs.filter.NtFileItemFilter
- All Implemented Interfaces:
Dumpable,Filter,ItemFilter
The nt file item filter matches all properties that are defined my the
nt:file or nt:resource node type. the later only, if the respective nodes
name is 'jcr:content'.
Additionally the properties 'jcr:encoding' can be configured to be excluded.
-
Field Summary
Fields inherited from interface org.apache.jackrabbit.vault.fs.api.ItemFilter
ALL, NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(DumpContext ctx, boolean isLast) Dumps some human readable information using the given context.booleanChecks if the given item matches this filters criteria.
-
Constructor Details
-
NtFileItemFilter
public NtFileItemFilter()
-
-
Method Details
-
matches
Checks if the given item matches this filters criteria. The given depth is relative to some invoker related depth and may not reflect the hierarchical depth of the item in the repository. It up to the implementation how to deal with this value.- Specified by:
matchesin interfaceItemFilter- Parameters:
item- the item to checkdepth- a relative depth.- Returns:
trueif the item is a nt:file or nt:resource property- Throws:
RepositoryException- if an error occurs.
-
dump
Dumps some human readable information using the given context.
-