|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.platform.desktop.DesktopBase
info.aduna.platform.desktop.support.WindowsDesktop
public class WindowsDesktop
Platform implementation for all Windows' platforms.
| Field Summary | |
|---|---|
static String[] |
EXECUTABLE_EXTENSIONS
The extensions of executable files |
| Constructor Summary | |
|---|---|
WindowsDesktop(Platform platform)
|
|
| Method Summary | |
|---|---|
String |
getCommandShell()
Returns appropriate command shell for the current windows shell. |
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 true when the platform is not a Windows 9x platform. |
| Methods inherited from class info.aduna.platform.desktop.DesktopBase |
|---|
getPlatform, isExecutable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] EXECUTABLE_EXTENSIONS
| Constructor Detail |
|---|
public WindowsDesktop(Platform platform)
| Method Detail |
|---|
public int openResource(String resource)
throws IOException
Desktop
IOException - when an I/O error occurs.public boolean isExecutable(String resource)
Desktop
public boolean warnsWhenOpeningExecutable()
warnsWhenOpeningExecutable in interface DesktopwarnsWhenOpeningExecutable in class DesktopBaseDesktop.openResource(java.lang.String)public String getCommandShell()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||