info.aduna.platform.desktop
Class DesktopBase
java.lang.Object
info.aduna.platform.desktop.DesktopBase
- All Implemented Interfaces:
- Desktop
- Direct Known Subclasses:
- PosixDesktop, WindowsDesktop
public abstract class DesktopBase
- extends Object
- implements Desktop
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DesktopBase
public DesktopBase(Platform platform)
getPlatform
protected Platform getPlatform()
warnsWhenOpeningExecutable
public boolean warnsWhenOpeningExecutable()
- Returns false, because most platforms do not issue this warning.
- Specified by:
warnsWhenOpeningExecutable in interface Desktop
- See Also:
Desktop.openResource(java.lang.String)
isExecutable
protected boolean isExecutable(String resource,
String[] extensions)
- Utility method for determining whether the specified resource is
executable. It returns true when the resource ends with one of the
specified extensions.
Copyright © 1997-2008 Aduna. All Rights Reserved.