net.sourceforge.jane
Class CompositeArtifactPath

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

public class CompositeArtifactPath
extends ArtifactPath

A composite of ArtifactPaths.

Author:
Calvin Yu

Fields inherited from class net.sourceforge.jane.ArtifactPath
path
 
Constructor Summary
CompositeArtifactPath()
          Create a new CompositeArtifactPath.
CompositeArtifactPath(java.lang.String aPath)
          Create a new CompositeArtifactPath.
 
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 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

CompositeArtifactPath

public CompositeArtifactPath()
Create a new CompositeArtifactPath.

CompositeArtifactPath

public CompositeArtifactPath(java.lang.String aPath)
                      throws InvalidPathException
Create a new CompositeArtifactPath.
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

addPath

public void addPath(ArtifactPath path)
Add a path.


Copyright © 2002-2002 SourceForge. All Rights Reserved.