@Component(role=Pack200Archiver.class) public class Pack200Archiver extends Object
Constructor and Description |
---|
Pack200Archiver() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertSupportedEclipseInf(EclipseInf eclipseInf) |
boolean |
normalize(List<org.apache.maven.artifact.Artifact> pluginArtifacts,
File file,
File packFile) |
boolean |
pack(List<org.apache.maven.artifact.Artifact> pluginArtifacts,
File file,
File packFile) |
void |
unpack(List<org.apache.maven.artifact.Artifact> pluginArtifacts,
File packFile,
File jarFile) |
public boolean normalize(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile) throws IOException
file
- source jar filepackFile
- target pack filetrue
if the target pack file was created, false
if the
target file was not createdIOException
protected void assertSupportedEclipseInf(EclipseInf eclipseInf) throws IOException
IOException
public void unpack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File packFile, File jarFile) throws IOException
IOException
public boolean pack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile) throws IOException
IOException
Copyright © 2010-2015 Eclipse Foundation. All Rights Reserved.