net.sourceforge.jane
Class JarArtifactPath

java.lang.Object
  |
  +--net.sourceforge.jane.ArtifactPath
        |
        +--net.sourceforge.jane.JarArtifactPath

public class JarArtifactPath
extends ArtifactPath

An ArtifactPath that represents a path to a JAR.

Author:
Calvin Yu

Fields inherited from class net.sourceforge.jane.ArtifactPath
path
 
Constructor Summary
JarArtifactPath(java.lang.String aPath)
          Create a new JarArtifactPath.
 
Method Summary
 java.io.InputStream findArtifact(java.lang.String name)
          Find the specified artifact.
 java.lang.String getPathToArtifact(java.lang.String name)
          Returns the path to the given artifact.
 
Methods inherited from class net.sourceforge.jane.ArtifactPath
resolvePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarArtifactPath

public JarArtifactPath(java.lang.String aPath)
                throws InvalidPathException
Create a new JarArtifactPath.
Method Detail

getPathToArtifact

public java.lang.String getPathToArtifact(java.lang.String name)
Returns the path to the given artifact.
Overrides:
getPathToArtifact in class ArtifactPath

findArtifact

public java.io.InputStream findArtifact(java.lang.String name)
                                 throws java.io.IOException
Find the specified artifact.
Overrides:
findArtifact in class ArtifactPath


Copyright © 2002-2002 SourceForge. All Rights Reserved.