public class DefaultSwingInstallerManager.DefaultUrlAndLabel extends Object implements SwingInstallerManager.UrlAndLabel
| Constructor and Description |
|---|
DefaultSwingInstallerManager.DefaultUrlAndLabel(URL url,
String label) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Return the url associated to the url or null
if the url don't have a label.
|
URL |
getURL()
Return the url.
|
void |
setLabel(String label) |
String |
toString()
Return a string with the label and the url like:
"label - http://..."
|
public URL getURL()
SwingInstallerManager.UrlAndLabelgetURL in interface SwingInstallerManager.UrlAndLabelpublic String getLabel()
SwingInstallerManager.UrlAndLabelgetLabel in interface SwingInstallerManager.UrlAndLabelpublic void setLabel(String label)
public String toString()
SwingInstallerManager.UrlAndLabeltoString in interface SwingInstallerManager.UrlAndLabeltoString in class Object