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 void
assertSupportedEclipseInf(EclipseInf eclipseInf)
boolean
normalize(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork)
boolean
pack(List<org.apache.maven.artifact.Artifact> pluginArtifacts, File file, File packFile, boolean fork)
void
unpack(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:
true
if the target pack file was created,false
if 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
-
-