org.apache.archiva.repository.content.legacy
Class AbstractLegacyRepositoryContent
java.lang.Object
org.apache.archiva.repository.content.legacy.AbstractLegacyRepositoryContent
- Direct Known Subclasses:
- ManagedLegacyRepositoryContent, RemoteLegacyRepositoryContent
public abstract class AbstractLegacyRepositoryContent
- extends Object
AbstractLegacyRepositoryContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_SEPARATOR
private static final String PATH_SEPARATOR
- See Also:
- Constant Field Values
typeToDirectoryMap
private static final Map<String,String> typeToDirectoryMap
legacyPathParser
@Inject
@Named(value="pathParser#legacy")
private PathParser legacyPathParser
AbstractLegacyRepositoryContent
public AbstractLegacyRepositoryContent()
toArtifactReference
public ArtifactReference toArtifactReference(String path)
throws LayoutException
- Throws:
LayoutException
toPath
public String toPath(ArchivaArtifact reference)
toPath
public String toPath(ArtifactReference reference)
toPath
private String toPath(String groupId,
String artifactId,
String version,
String classifier,
String type)
getDirectory
private String getDirectory(String type)
setLegacyPathParser
public void setLegacyPathParser(PathParser parser)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.