Class ZipScannerTool


  • public class ZipScannerTool
    extends java.lang.Object
    The type Zip scanner tool.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection getMatchedCollection​(org.apache.tools.ant.types.ZipFileSet fs, org.apache.tools.ant.DirectoryScanner scanner)
      Gets matched collection.
      static java.util.Collection getMatchedCollection​(org.apache.tools.ant.types.ZipFileSet fs, org.apache.tools.ant.DirectoryScanner scanner, java.lang.String baseDir)
      Gets matched collection.
      static java.lang.String[] getMatches​(org.apache.tools.ant.types.ZipFileSet fs, org.apache.tools.ant.DirectoryScanner scanner)
      Get matches string [ ].
      static java.io.File zipFileSetGetSrc​(org.apache.tools.ant.types.ZipFileSet fs)
      Zip file set get src file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMatches

        public static java.lang.String[] getMatches​(org.apache.tools.ant.types.ZipFileSet fs,
                                                    org.apache.tools.ant.DirectoryScanner scanner)
                                             throws java.io.IOException
        Get matches string [ ].
        Parameters:
        fs - the fs
        scanner - the scanner
        Returns:
        the string [ ]
        Throws:
        java.io.IOException - the io exception
      • getMatchedCollection

        public static java.util.Collection getMatchedCollection​(org.apache.tools.ant.types.ZipFileSet fs,
                                                                org.apache.tools.ant.DirectoryScanner scanner)
                                                         throws java.io.IOException
        Gets matched collection.
        Parameters:
        fs - the fs
        scanner - the scanner
        Returns:
        the matched collection
        Throws:
        java.io.IOException - the io exception
      • zipFileSetGetSrc

        public static java.io.File zipFileSetGetSrc​(org.apache.tools.ant.types.ZipFileSet fs)
        Zip file set get src file.
        Parameters:
        fs - the fs
        Returns:
        the file
      • getMatchedCollection

        public static java.util.Collection getMatchedCollection​(org.apache.tools.ant.types.ZipFileSet fs,
                                                                org.apache.tools.ant.DirectoryScanner scanner,
                                                                java.lang.String baseDir)
                                                         throws java.io.IOException
        Gets matched collection.
        Parameters:
        fs - the fs
        scanner - the scanner
        baseDir - the base dir
        Returns:
        the matched collection
        Throws:
        java.io.IOException - the io exception