public class Source
extends java.lang.Object
| Constructor and Description |
|---|
Source(ArchiveType archiveType,
java.net.URL archiveURL)
Create a new source from an
ArchiveType and the download-URL to this archive. |
| Modifier and Type | Method and Description |
|---|---|
ArchiveType |
type()
Get the
ArchiveType of this source. |
java.net.URL |
url()
Get the download-
URL for this source. |
public Source(ArchiveType archiveType, java.net.URL archiveURL)
ArchiveType and the download-URL to this archive.archiveType - ArchiveType Archive type of this source.archiveURL - URL Download url for this source.public ArchiveType type()
ArchiveType of this source.ArchiveType of this source.public java.net.URL url()
URL for this source.URL for this source.