public class MavenResolver extends java.lang.Object implements ArchiveResolver, ProvisioningResolverAware
Constructor and Description |
---|
MavenResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name(java.lang.String rawLocation) |
java.lang.String |
prefix() |
java.lang.String |
quickMvnUrl(java.lang.String raw) |
java.io.InputStream |
resolve(java.lang.String url) |
void |
setResolver(ProvisioningResolver resolver) |
java.lang.String |
toString() |
public java.lang.String prefix()
prefix
in interface ArchiveResolver
public java.io.InputStream resolve(java.lang.String url)
resolve
in interface ArchiveResolver
url
- the archive locationpublic java.lang.String name(java.lang.String rawLocation)
name
in interface ArchiveResolver
rawLocation
- input urlpublic java.lang.String quickMvnUrl(java.lang.String raw) throws java.net.MalformedURLException
java.net.MalformedURLException
public void setResolver(ProvisioningResolver resolver)
setResolver
in interface ProvisioningResolverAware
public java.lang.String toString()
toString
in class java.lang.Object