@Service(value="pathParser#default") public class DefaultPathParser extends Object implements PathParser
Modifier and Type | Field and Description |
---|---|
private static String |
INVALID_ARTIFACT_PATH |
private RepositoryPathTranslator |
pathTranslator |
Constructor and Description |
---|
DefaultPathParser() |
Modifier and Type | Method and Description |
---|---|
ArtifactReference |
toArtifactReference(String path)
Take a path and get the ArtifactReference associated with it.
|
private static final String INVALID_ARTIFACT_PATH
private RepositoryPathTranslator pathTranslator
public DefaultPathParser()
public ArtifactReference toArtifactReference(String path) throws LayoutException
toArtifactReference
in interface PathParser
path
- the relative path to parse.LayoutException
- if there was a problem parsing the path.PathParser.toArtifactReference(String)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.