|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.osdependent.DesktopServiceImpl
public class DesktopServiceImpl
Implementation of the DesktopService.
| Constructor Summary | |
|---|---|
DesktopServiceImpl()
Creates a DesktopServiceImpl and initializes the default desktop to use for all desktop operations. |
|
| Method Summary | |
|---|---|
void |
browse(URI uri)
Invokes the default desktop browse method. |
void |
edit(File file)
Invokes the default desktop edit method. |
void |
open(File file)
Invokes the default desktop open method. |
void |
print(File file)
Invokes the default desktop print method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DesktopServiceImpl()
| Method Detail |
|---|
public void browse(URI uri)
throws NullPointerException,
IllegalArgumentException,
UnsupportedOperationException,
IOException,
SecurityException
browse in interface DesktopServiceuri - the URI to be displayed in the user default browser
NullPointerException - if file is null
IllegalArgumentException - if the specified file dosen't exist
UnsupportedOperationException - if the current platform does not
support the Desktop.Action.OPEN action
IOException - if the specified file has no associated application
or the associated application fails to be launched
SecurityException - if a security manager exists and its
SecurityManager.checkRead(java.lang.String) method denies read access to
the file, or it denies the AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a subprocessDesktopService.browse(URI)
public void edit(File file)
throws NullPointerException,
IllegalArgumentException,
UnsupportedOperationException,
IOException,
SecurityException
edit in interface DesktopServicefile - the file to open for editing
NullPointerException - if file is null
IllegalArgumentException - if the specified file dosen't exist
UnsupportedOperationException - if the current platform does not
support the Desktop.Action.OPEN action
IOException - if the specified file has no associated application
or the associated application fails to be launched
SecurityException - if a security manager exists and its
SecurityManager.checkRead(java.lang.String) method denies read access to
the file, or it denies the AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a subprocessDesktopService.edit(File)
public void open(File file)
throws NullPointerException,
IllegalArgumentException,
UnsupportedOperationException,
IOException,
SecurityException
open in interface DesktopServicefile - the file to be opened
NullPointerException - if file is null
IllegalArgumentException - if the specified file dosen't exist
UnsupportedOperationException - if the current platform does not
support the Desktop.Action.OPEN action
IOException - if the specified file has no associated application
or the associated application fails to be launched
SecurityException - if a security manager exists and its
SecurityManager.checkRead(java.lang.String) method denies read access to
the file, or it denies the AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a subprocessDesktopService.open(File)
public void print(File file)
throws NullPointerException,
IllegalArgumentException,
UnsupportedOperationException,
IOException,
SecurityException
print in interface DesktopServicefile - the file to be opened
NullPointerException - if file is null
IllegalArgumentException - if the specified file dosen't exist
UnsupportedOperationException - if the current platform does not
support the Desktop.Action.OPEN action
IOException - if the specified file has no associated application
or the associated application fails to be launched
SecurityException - if a security manager exists and its
SecurityManager.checkRead(java.lang.String) method denies read access to
the file, or it denies the AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a subprocessDesktopService.print(File)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||