unzip
public static void unzip(java.io.File zipFile,
java.io.File outputDir,
int discardDepth)
throws java.io.IOException
Kind of odd, unzips the given zipfile into the given output directory but
discards the given amount of directory depth from the top. This is used
in archives where there's always a top level root directory, that is
stored in the zipfile, but that you want to discard and use your own
directory when you unpack.
- Parameters:
zipFile - outputDir - discardDepth -
- Throws:
java.io.IOException