org.apache.archiva.metadata.repository.storage
Interface RepositoryPathTranslator

All Known Implementing Classes:
Maven2RepositoryPathTranslator

public interface RepositoryPathTranslator


Field Summary
static char PATH_SEPARATOR
           
 
Method Summary
 ArtifactMetadata getArtifactForPath(String repoId, String relativePath)
           
 ArtifactMetadata getArtifactFromId(String repoId, String namespace, String projectId, String projectVersion, String id)
           
 File toFile(File basedir, String namespace)
           
 File toFile(File basedir, String namespace, String projectId)
           
 File toFile(File basedir, String namespace, String projectId, String projectVersion)
           
 File toFile(File basedir, String namespace, String projectId, String projectVersion, String filename)
           
 String toPath(String namespace, String projectId)
           
 String toPath(String namespace, String projectId, String projectVersion, String filename)
           
 

Field Detail

PATH_SEPARATOR

static final char PATH_SEPARATOR
See Also:
Constant Field Values
Method Detail

toPath

String toPath(String namespace,
              String projectId,
              String projectVersion,
              String filename)

toPath

String toPath(String namespace,
              String projectId)

toFile

File toFile(File basedir,
            String namespace,
            String projectId,
            String projectVersion,
            String filename)

toFile

File toFile(File basedir,
            String namespace,
            String projectId)

toFile

File toFile(File basedir,
            String namespace)

toFile

File toFile(File basedir,
            String namespace,
            String projectId,
            String projectVersion)

getArtifactForPath

ArtifactMetadata getArtifactForPath(String repoId,
                                    String relativePath)

getArtifactFromId

ArtifactMetadata getArtifactFromId(String repoId,
                                   String namespace,
                                   String projectId,
                                   String projectVersion,
                                   String id)


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