|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jane.ArtifactPath | +--net.sourceforge.jane.DirectoryArtifactPath
An ArtifactPath
that represents a directory structure.
Fields inherited from class net.sourceforge.jane.ArtifactPath |
path |
Constructor Summary | |
DirectoryArtifactPath(java.lang.String aPath)
Create a new DirectoryArtifactPath . |
Method Summary | |
java.io.InputStream |
findArtifact(java.lang.String name)
Find the specified artifact. |
protected java.io.File |
getArtifactFile(java.lang.String name)
Return a file for this artifact, or null if the file does not exist. |
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 |
public DirectoryArtifactPath(java.lang.String aPath) throws InvalidPathException
DirectoryArtifactPath
.Method Detail |
public java.lang.String getPathToArtifact(java.lang.String name)
getPathToArtifact
in class ArtifactPath
public java.io.InputStream findArtifact(java.lang.String name) throws java.io.IOException
findArtifact
in class ArtifactPath
protected java.io.File getArtifactFile(java.lang.String name)
null
if the file does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |