public class BrowserControl extends Object
Translation
Modifier and Type | Field and Description |
---|---|
static String |
MK_browserManually
Key into the MuLi translation (mostly: an Instance of
Translation |
static String |
MK_browserRemoteFail
Key into the MuLi translation (mostly: an Instance of
Translation |
static String |
MK_browserRemoteUnsupported
Key into the MuLi translation (mostly: an Instance of
Translation |
static String |
MK_uriSyntax
Key into the MuLi translation (mostly: an Instance of
Translation |
Constructor and Description |
---|
BrowserControl() |
Modifier and Type | Method and Description |
---|---|
static void |
showURI(String uriString)
Open an URI in system standard browser.
|
static boolean |
showURI(String uriString,
MuLiMessageReceiver msg)
Open an URI in system standard browser.
|
public static final String MK_uriSyntax
Translation
public static final String MK_browserRemoteFail
Translation
public static final String MK_browserRemoteUnsupported
Translation
public static final String MK_browserManually
Translation
public static void showURI(String uriString) throws IOException, URISyntaxException, UnsupportedOperationException, SecurityException
several
- exceptions according to java.awt.Desktop.browse(URI)
and
URISyntaxException @link{java.net.URI(String)}IOException
URISyntaxException
UnsupportedOperationException
SecurityException
public static boolean showURI(String uriString, MuLiMessageReceiver msg)
MuLiMessageReceiver
.
Translations for the keys MK_uriSyntax
,
MK_uriSyntax
, MK_uriSyntax
, and MK_uriSyntax
,
must be provided in its internal object.see also the complete user documentation .