net.sourceforge.jane
Class CompositeArtifactPath
java.lang.Object
|
+--net.sourceforge.jane.ArtifactPath
|
+--net.sourceforge.jane.CompositeArtifactPath
- public class CompositeArtifactPath
- extends ArtifactPath
A composite of ArtifactPath
s.
- Author:
- Calvin Yu
Method Summary |
void |
addPath(ArtifactPath path)
Add a path. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeArtifactPath
public CompositeArtifactPath()
- Create a new
CompositeArtifactPath
.
CompositeArtifactPath
public CompositeArtifactPath(java.lang.String aPath)
throws InvalidPathException
- Create a new
CompositeArtifactPath
.
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
addPath
public void addPath(ArtifactPath path)
- Add a path.
Copyright © 2002-2002 SourceForge. All Rights Reserved.