|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.platform.macosx.NativeInvocationBridge
public abstract class NativeInvocationBridge
Performs PlatformManager and platform-specific tasks using bridges like Cocoa-Java -> ObjC
The methods supplied are intended to reflect those that can be dealt with a way other than OSAScript. Ensure that the method signatures match those of PlatformManagerImpl, but they should generally return a boolean (false for failure).
Constructor Summary | |
---|---|
protected |
NativeInvocationBridge()
|
Method Summary | |
---|---|
protected void |
dispose()
Disposes system resources |
protected static boolean |
hasSharedInstance()
|
protected abstract boolean |
isEnabled()
Gets whether the invocation bridge is available for use |
protected boolean |
performRecoverableFileDelete(File path)
|
protected static NativeInvocationBridge |
sharedInstance()
Gets the singleton |
protected boolean |
showInFinder(File path,
String fb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NativeInvocationBridge()
Method Detail |
---|
protected static final NativeInvocationBridge sharedInstance()
protected static final boolean hasSharedInstance()
protected boolean performRecoverableFileDelete(File path)
PlatformManager#performRecoverableFileDelete(java.io.File)
protected boolean showInFinder(File path, String fb)
PlatformManagerImpl.showInFinder(java.io.File)
protected abstract boolean isEnabled()
Gets whether the invocation bridge is available for use
This method is used to anticipate scenarios such as where the bridge will fail due to missing classpaths
protected void dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |