org.jtheque.utils
Class DesktopUtils

java.lang.Object
  extended by org.jtheque.utils.DesktopUtils

public final class DesktopUtils
extends Object

Utility class for the class Desktop.

Author:
Baptiste Wicht

Method Summary
static void browse(String url)
          Open the browser at the url.
static void mail()
          Open the mailer.
static void mail(DesktopMail mail)
          Open the mailer with specifics information.
static void open(File file)
          Open the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mail

public static void mail()
Open the mailer.


mail

public static void mail(DesktopMail mail)
Open the mailer with specifics information.

Parameters:
mail - The mail to send

open

public static void open(File file)
Open the file.

Parameters:
file - The file to open.

browse

public static void browse(String url)
Open the browser at the url.

Parameters:
url - The URL to browse.


Copyright © 2010 JTheque. All Rights Reserved.