|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.util.URLHelper
public class URLHelper
Helper methods for desktop file and directory operations, web and mail.
| Constructor Summary | |
|---|---|
URLHelper()
|
|
| Method Summary | |
|---|---|
static void |
browseDirectory(String path)
Browses a directory. |
static void |
browseDirectory(String path,
boolean createDir)
Browses a directory. |
static void |
mailTo(String recipient,
String subject,
String body)
Sends a mail (and start eMail-Frontend). |
static void |
openURL(String urlDesc)
Opens a URL according to its filetype. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLHelper()
| Method Detail |
|---|
public static void openURL(String urlDesc)
throws IOException
urlDesc - the url
IOException
public static void browseDirectory(String path,
boolean createDir)
throws IOException
path - the directory pathnamecreateDir - true if create directory if missing
IOException
public static void browseDirectory(String path)
throws IOException
path - the directory pathname
IOException
public static void mailTo(String recipient,
String subject,
String body)
throws IOException,
URISyntaxException
recipient - the recipoentsubject - the subject, null if nonebody - the body, null if none
IOException
URISyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||