org.ungoverned.oscar.installer.artifact
Class ResourceFileArtifact

java.lang.Object
  extended byorg.ungoverned.oscar.installer.artifact.AbstractArtifact
      extended byorg.ungoverned.oscar.installer.artifact.AbstractFileArtifact
          extended byorg.ungoverned.oscar.installer.artifact.ResourceFileArtifact
All Implemented Interfaces:
Artifact

public class ResourceFileArtifact
extends AbstractFileArtifact


Field Summary
 
Fields inherited from class org.ungoverned.oscar.installer.artifact.AbstractArtifact
s_buffer
 
Constructor Summary
ResourceFileArtifact(StringProperty sourceName)
           
ResourceFileArtifact(StringProperty sourceName, StringProperty destName)
           
ResourceFileArtifact(StringProperty sourceName, StringProperty destName, StringProperty destDir)
           
ResourceFileArtifact(StringProperty sourceName, StringProperty destName, StringProperty destDir, boolean localize)
           
 
Method Summary
 java.io.InputStream getInputStream(Status status)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ungoverned.oscar.installer.artifact.AbstractFileArtifact
getDestinationName, process
 
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, wait, wait, wait
 

Constructor Detail

ResourceFileArtifact

public ResourceFileArtifact(StringProperty sourceName)

ResourceFileArtifact

public ResourceFileArtifact(StringProperty sourceName,
                            StringProperty destName)

ResourceFileArtifact

public ResourceFileArtifact(StringProperty sourceName,
                            StringProperty destName,
                            StringProperty destDir)

ResourceFileArtifact

public ResourceFileArtifact(StringProperty sourceName,
                            StringProperty destName,
                            StringProperty destDir,
                            boolean localize)
Method Detail

getInputStream

public java.io.InputStream getInputStream(Status status)
                                   throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()