This project has retired. For details please refer to its
Attic page.
LegacyPathParser
org.apache.maven.archiva.repository.content
Class LegacyPathParser
java.lang.Object
org.apache.maven.archiva.repository.content.LegacyPathParser
- All Implemented Interfaces:
- PathParser
public class LegacyPathParser
- extends java.lang.Object
- implements PathParser
LegacyPathParser is a parser for maven 1 (legacy 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 |
configuration
protected ArchivaConfiguration configuration
LegacyPathParser
public LegacyPathParser()
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)