org.apache.archiva.repository.content
Interface PathParser

All Known Implementing Classes:
DefaultPathParser, LegacyPathParser

public interface PathParser

PathParser interface.


Method Summary
 ArtifactReference toArtifactReference(String path)
          Take a path and get the ArtifactReference associated with it.
 

Method Detail

toArtifactReference

ArtifactReference toArtifactReference(String path)
                                      throws LayoutException
Take a path and get the ArtifactReference associated with it.

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.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.