public final class DownloadOS extends Object implements Comparable<DownloadOS>
| Constructor and Description |
|---|
DownloadOS(String name)
Constructor with mandatory data.
|
DownloadOS(String name,
String url)
Constructor with all data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DownloadOS other) |
boolean |
equals(Object obj) |
String |
getName()
Returns the name.
|
String |
getUrl()
Returns the download URL string.
|
URL |
getURL()
Returns the download URL.
|
int |
hashCode() |
String |
toString() |
public DownloadOS(String name)
name - Name (like "3.1.0").public final String getName()
public final String getUrl()
public final URL getURL()
public final int compareTo(DownloadOS other)
compareTo in interface Comparable<DownloadOS>Copyright © 2019 fuin.org (Germany). All rights reserved.