API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.peer. DesktopPeer View Source
Author(s)
Since
Version
Serial
Hierarchy
 DesktopPeer
Subinterfaces
Description
public interface DesktopPeer
  The DesktopPeer interface provides methods for the operation of open, edit, print, browse and mail with the given URL or file, by launching the associated application.
See also:   
Methods
Hide/Show inherited methods
public void browse (URI url) throws IOException
  Launches the user default browser to display the given URI.
public void edit (File file) throws IOException
  Launches the associated editor and opens the given file for editing.
public boolean isSupported (Action action)
  Returns whether the given action is supported on the current platform.
public void mail (URI mailtoURL) throws IOException
  Launches the mail composing window of the user default mail client, filling the message fields including to, cc, etc, with the values specified by the given mailto URL.
public void open (File file) throws IOException
  Launches the associated application to open the given file.
public void print (File file) throws IOException
  Prints the given file with the native desktop printing facility, using the associated application's print command.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar