Package com.yworks.common.ant
Class ZipScannerTool
- java.lang.Object
-
- com.yworks.common.ant.ZipScannerTool
-
public class ZipScannerTool extends java.lang.ObjectThe type Zip scanner tool.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.CollectiongetMatchedCollection(org.apache.tools.ant.types.ZipFileSet fs, org.apache.tools.ant.DirectoryScanner scanner)Gets matched collection.static java.util.CollectiongetMatchedCollection(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.FilezipFileSetGetSrc(org.apache.tools.ant.types.ZipFileSet fs)Zip file set get src file.
-
-
-
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.IOExceptionGet matches string [ ].- Parameters:
fs- the fsscanner- 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.IOExceptionGets matched collection.- Parameters:
fs- the fsscanner- 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.IOExceptionGets matched collection.- Parameters:
fs- the fsscanner- the scannerbaseDir- the base dir- Returns:
- the matched collection
- Throws:
java.io.IOException- the io exception
-
-