Package com.biglybt.platform.macosx
Class NativeInvocationBridge
java.lang.Object
com.biglybt.platform.macosx.NativeInvocationBridge
- Direct Known Subclasses:
CocoaJavaBridge
,NativeInvocationBridge.DummyBridge
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).
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
A NativeInvocationBridge that does nothing; isEnabled() always returns false. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
dispose()
Disposes system resourcesprotected static boolean
protected abstract boolean
Gets whether the invocation bridge is available for useprotected boolean
protected static NativeInvocationBridge
Gets the singletonprotected boolean
showInFinder
(File path, String fb)
-
Field Details
-
instance
-
-
Constructor Details
-
NativeInvocationBridge
protected NativeInvocationBridge()
-
-
Method Details
-
performRecoverableFileDelete
- See Also:
-
PlatformManager#performRecoverableFileDelete(java.io.File)
-
showInFinder
-
isEnabled
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
-
dispose
protected void dispose()Disposes system resources