public interface RepositoryContent
| Modifier and Type | Method and Description | 
|---|---|
| ArtifactReference | toArtifactReference(String path)Given a repository relative path to a filename, return the  VersionedReferenceobject suitable for the path. | 
| String | toPath(ArtifactReference reference)Given an  ArtifactReference, return the relative path to the artifact. | 
ArtifactReference toArtifactReference(String path) throws LayoutException
VersionedReference object suitable for the path.path - the path relative to the repository base dir for the artifact.ArtifactReference representing the path.  (or null if path cannot be converted to
         a ArtifactReference)LayoutException - if there was a problem converting the path to an artifact.String toPath(ArtifactReference reference)
ArtifactReference, return the relative path to the artifact.reference - the artifact reference to use.Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.