net.sf.jnati.deploy.source
Class ArtefactSource

java.lang.Object
  extended by net.sf.jnati.deploy.source.ArtefactSource
Direct Known Subclasses:
FileSource, JarSource, UrlSource

public abstract class ArtefactSource
extends Object

Author:
Sam Adams

Constructor Summary
ArtefactSource()
           
 
Method Summary
abstract  void close()
           
abstract  boolean containsFile(String path)
           
abstract  File getPath()
           
abstract  boolean isLocal()
           
 void loadManifest(Artefact artefact)
           
abstract  InputStream openFile(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtefactSource

public ArtefactSource()
Method Detail

openFile

public abstract InputStream openFile(String path)
                              throws IOException
Throws:
IOException

close

public abstract void close()
                    throws IOException
Throws:
IOException

containsFile

public abstract boolean containsFile(String path)
                              throws IOException
Throws:
IOException

loadManifest

public void loadManifest(Artefact artefact)
                  throws IOException
Throws:
IOException

isLocal

public abstract boolean isLocal()

getPath

public abstract File getPath()


Copyright © 2007-2011 Sam Adams. All Rights Reserved.