Class JobEntryZipFile.ZipJobEntryPatternFileSelector

  • All Implemented Interfaces:
    org.apache.commons.vfs2.FileSelector
    Enclosing class:
    JobEntryZipFile

    public static class JobEntryZipFile.ZipJobEntryPatternFileSelector
    extends Object
    implements org.apache.commons.vfs2.FileSelector
    Helper class providing pattern restrictions for file names to be zipped
    • Constructor Detail

      • ZipJobEntryPatternFileSelector

        public ZipJobEntryPatternFileSelector​(Pattern pattern,
                                              Pattern patternExclude)
    • Method Detail

      • traverseDescendents

        public boolean traverseDescendents​(org.apache.commons.vfs2.FileSelectInfo fileInfo)
                                    throws Exception
        Specified by:
        traverseDescendents in interface org.apache.commons.vfs2.FileSelector
        Throws:
        Exception
      • includeFile

        public boolean includeFile​(org.apache.commons.vfs2.FileSelectInfo fileInfo)
                            throws Exception
        Specified by:
        includeFile in interface org.apache.commons.vfs2.FileSelector
        Throws:
        Exception