org.ungoverned.oscar.installer.artifact
Class AbstractJarArtifact

java.lang.Object
  extended byorg.ungoverned.oscar.installer.artifact.AbstractArtifact
      extended byorg.ungoverned.oscar.installer.artifact.AbstractJarArtifact
All Implemented Interfaces:
Artifact
Direct Known Subclasses:
ResourceJarArtifact, URLJarArtifact

public abstract class AbstractJarArtifact
extends AbstractArtifact


Field Summary
 
Fields inherited from class org.ungoverned.oscar.installer.artifact.AbstractArtifact
s_buffer
 
Constructor Summary
AbstractJarArtifact(StringProperty sourceName)
           
AbstractJarArtifact(StringProperty sourceName, StringProperty destDir)
           
AbstractJarArtifact(StringProperty sourceName, StringProperty destDir, boolean localize)
           
 
Method Summary
 boolean process(Status status, java.util.Map propMap)
           
protected  void unjar(java.util.jar.JarInputStream jis, java.util.Map propMap)
           
 
Methods inherited from class org.ungoverned.oscar.installer.artifact.AbstractArtifact
copy, copyAndLocalize, getDestinationDirectory, getPath, getPathHead, getSourceName, localize, readParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ungoverned.oscar.installer.Artifact
getInputStream
 

Constructor Detail

AbstractJarArtifact

public AbstractJarArtifact(StringProperty sourceName)

AbstractJarArtifact

public AbstractJarArtifact(StringProperty sourceName,
                           StringProperty destDir)

AbstractJarArtifact

public AbstractJarArtifact(StringProperty sourceName,
                           StringProperty destDir,
                           boolean localize)
Method Detail

process

public boolean process(Status status,
                       java.util.Map propMap)

unjar

protected void unjar(java.util.jar.JarInputStream jis,
                     java.util.Map propMap)
              throws java.io.IOException
Throws:
java.io.IOException