Class NtFilePredicate

  • All Implemented Interfaces:
    Predicate

    public class NtFilePredicate
    extends Object
    implements Predicate
    The nt file item filter matches all properties that are defined my the nt:file or nt:resource nodetype. the later only, if the respective nodes name is 'jcr:content'. Additionally the properties 'jcr:encoding' can be configured to be excluded.
    • Constructor Detail

      • NtFilePredicate

        public NtFilePredicate()
      • NtFilePredicate

        public NtFilePredicate​(boolean ignoreEncoding,
                               boolean ignoreMimeType)
    • Method Detail

      • isIgnoreEncoding

        public boolean isIgnoreEncoding()
        Returns the ignore encoding flag.
        Returns:
        the ignore encoding flag.
      • isIgnoreMimeType

        public boolean isIgnoreMimeType()
        Returns the ignore mime type flag.
        Returns:
        the ignore mime type flag.