|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object abbot.util.Launcher
public class Launcher
Mail and browser launcher which augments Runtime.exec
methods. Provides for built-in email and web browser support.
Constructor Summary | |
---|---|
Launcher()
|
Method Summary | |
---|---|
static void |
mail(String user,
String subject,
String body)
Format a message to the given user with the given subject and message body. |
static void |
mail(String user,
String subject,
String body,
String cc)
Format a message to the given user with the given subject and message body, including a CC list. |
static void |
mail(String user,
String subject,
String body,
String cc,
String bcc)
Format a message to the given user with the given subject and message body, including CC and BCC lists. |
static void |
open(String target)
Open the given target URL in the platform's browser. |
static void |
open(String command,
String target)
Use the given command/program to open the given target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Launcher()
Method Detail |
---|
public static void mail(String user, String subject, String body) throws IOException
IOException
public static void mail(String user, String subject, String body, String cc) throws IOException
IOException
public static void mail(String user, String subject, String body, String cc, String bcc) throws IOException
IOException
public static void open(String target) throws IOException
IOException
public static void open(String command, String target) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |