This project has retired. For details please refer to its
Attic page.
DefaultPathParser
org.apache.maven.archiva.repository.content
Class DefaultPathParser
java.lang.Object
org.apache.maven.archiva.repository.content.DefaultPathParser
- All Implemented Interfaces:
- PathParser
public class DefaultPathParser
- extends java.lang.Object
- implements PathParser
DefaultPathParser is a parser for maven 2 (default layout) paths to ArtifactReference.
Method Summary |
org.apache.maven.archiva.model.ArtifactReference |
toArtifactReference(java.lang.String path)
Take a path and get the ArtifactReference associated with it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPathParser
public DefaultPathParser()
toArtifactReference
public org.apache.maven.archiva.model.ArtifactReference toArtifactReference(java.lang.String path)
throws LayoutException
- Take a path and get the ArtifactReference associated with it.
- Specified by:
toArtifactReference
in interface PathParser
- Parameters:
path
- the relative path to parse.
- Returns:
- the ArtifactReference for the provided path. (never null)
- Throws:
LayoutException
- if there was a problem parsing the path.- See Also:
PathParser.toArtifactReference(java.lang.String)