|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Desktop
| Method Summary | |
|---|---|
boolean |
isExecutable(String resource)
Determines whether the specified resource is an executable. |
int |
openResource(String resource)
Opens the specified resource in the appropriate external application. |
boolean |
warnsWhenOpeningExecutable()
Returns whether the native platform warns the user (usually through a dialog) when he or she is about to open an executable resource. |
| Method Detail |
|---|
int openResource(String resource)
throws UnsupportedOperationException,
IOException
UnsupportedOperationException - when the Platform does not know how to handle the specified
resource.
IOException - when an I/O error occurs.
boolean isExecutable(String resource)
throws IOException
IOExceptionboolean warnsWhenOpeningExecutable()
openResource(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||