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