public class ArtifactExtractor extends Object
| Constructor and Description |
|---|
ArtifactExtractor(Set<org.apache.maven.artifact.Artifact> artifactsIn)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
extract(PackagingType packagingType,
ScopeType scope,
File outputDirectory)
The action to extract the artifacts that were set at the constructor.
|
void |
extract(String zipEntryName,
PackagingType packagingType,
ScopeType scope,
File outputDirectory)
The action to extract the artifacts that were set at the constructor.
|
public ArtifactExtractor(Set<org.apache.maven.artifact.Artifact> artifactsIn)
artifactsIn - the artifacts to extractpublic final void extract(PackagingType packagingType, ScopeType scope, File outputDirectory) throws IOException
packagingType - what type of arhives to extract based on the packagingscope - what type of arhives to extract based on the scopeoutputDirectory - the directory to extract toIOException - if there is a problem unzipping or copying filespublic final void extract(String zipEntryName, PackagingType packagingType, ScopeType scope, File outputDirectory) throws IOException
zipEntryName - the name of the file within the zip to extractpackagingType - what type of arhives to extract based on the packagingscope - what type of arhives to extract based on the scopeoutputDirectory - the directory to extract toIOException - if there is a problem unzipping or copying filesCopyright © 2015. All Rights Reserved.