com.virtuosotechnologies.lib.platform
Class MacOSXPlatformProvider
java.lang.Object
com.virtuosotechnologies.lib.platform.MacOSXPlatformProvider
- All Implemented Interfaces:
- PlatformProvider
- public class MacOSXPlatformProvider
- extends Object
- implements PlatformProvider
A PlatformProvider for Mac OS X
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacOSXPlatformProvider
public MacOSXPlatformProvider()
initialize
public boolean initialize()
- Initialize this provider. Returns a boolean value specifying whether
the provider is supported by the running platform or not.
- Specified by:
initialize
in interface PlatformProvider
- Returns:
- true if the provider is supported, or false if not.
performOperation
public Object performOperation(String operation,
Object data)
- Perform a platform-specific operation. Throws an IllegalStateException
if the initialization failed.
- Specified by:
performOperation
in interface PlatformProvider
- Parameters:
operation
- identification of the operationdata
- parameters
- Returns:
- return value
- Throws:
IllegalStateException
- initialize not yet called or returned false.