public class ExtractFilesFromArchive extends Object
Constructor and Description |
---|
ExtractFilesFromArchive() |
Modifier and Type | Method and Description |
---|---|
static String |
extractFileFromArchive(File downloadedCompressedFile,
String extractedToFilePath,
boolean overwriteFilesThatExist,
BinaryType possibleFilenames)
Extract binary from a downloaded archive file
|
public static String extractFileFromArchive(File downloadedCompressedFile, String extractedToFilePath, boolean overwriteFilesThatExist, BinaryType possibleFilenames) throws IOException, IllegalArgumentException, org.apache.maven.plugin.MojoFailureException
downloadedCompressedFile
- The downloaded compressed fileextractedToFilePath
- Path to extracted fileoverwriteFilesThatExist
- Overwrite any existing filespossibleFilenames
- Names of the files we want to extractIOException
- Unable to write to filesystemIllegalArgumentException
- Unsupported archiveorg.apache.maven.plugin.MojoFailureException
- Error running pluginCopyright © 2016. All rights reserved.