net.sf.doolin.gui.service
Interface DesktopService

All Known Implementing Classes:
JDK6DesktopService

public interface DesktopService

This service is used to interact with the user's desktop.

Author:
Damien Coraboeuf

Method Summary
 void browse(URL url)
          Browses the URL using the desktop browser
 void editFile(File file)
          Opens the file for edition.
 void mail(String mail)
          Opens the mail system of the user
 void openFile(File file)
          Opens the file using the desktop.
 

Method Detail

openFile

void openFile(File file)
Opens the file using the desktop.

Parameters:
file - File to open

editFile

void editFile(File file)
Opens the file for edition.

Parameters:
file - File to edit

browse

void browse(URL url)
Browses the URL using the desktop browser

Parameters:
url - URL to browse

mail

void mail(String mail)
Opens the mail system of the user

Parameters:
mail - Mail address to write to


Copyright © 2011. All Rights Reserved.