Package org.eclipse.tycho.extras.pack200
Class Pack200Archiver
- java.lang.Object
-
- org.eclipse.tycho.extras.pack200.Pack200Archiver
-
@Component(role=Pack200Archiver.class) public class Pack200Archiver extends Object
-
-
Constructor Summary
Constructors Constructor Description Pack200Archiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertSupportedEclipseInf(EclipseInf eclipseInf)booleannormalize(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork)booleanpack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork)voidunpack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File packFile, File jarFile, boolean fork)
-
-
-
Method Detail
-
normalize
public boolean normalize(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork) throws IOException
- Parameters:
file- source jar filepackFile- target pack file- Returns:
trueif the target pack file was created,falseif the target file was not created- Throws:
IOException
-
assertSupportedEclipseInf
protected void assertSupportedEclipseInf(EclipseInf eclipseInf) throws IOException
- Throws:
IOException
-
unpack
public void unpack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File packFile, File jarFile, boolean fork) throws IOException
- Throws:
IOException
-
pack
public boolean pack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork) throws IOException
- Throws:
IOException
-
-