public class Launcher extends Object
Runtime.exec
methods. Provides for built-in email and web browser support.Constructor and Description |
---|
Launcher() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Abbot is hosted on