public class ArtifactHandler extends Object
| Constructor and Description |
|---|
ArtifactHandler(File file)
Create a new handler.
|
ArtifactHandler(String url,
URL localURL)
Create a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getLocalURL()
Get a local url for the artifact
|
String |
getUrl()
Get the url of the artifact
|
public ArtifactHandler(String url, URL localURL)
url - The url of the artifactlocalURL - The local URL for the artifactpublic ArtifactHandler(File file) throws MalformedURLException
file - The file for the artifactMalformedURLExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.