- Enclosing class:
public static interface ExternalFileLauncher.OpenExternalFileHandlerThis interface allows a mechanism for a BlueJ extension to write a launcher, and for BlueJ to call this launcher. When implementing the interface, BlueJ extension writers must take a particular care that their action will not block the BlueJ UI thread (JavaFX thread).
void openFile(java.lang.String filePath) throws java.lang.ExceptionThe BlueJ extension implements this method as a launcher for a file, specified by its name. BlueJ will call it when trying to run the launcher associated with the file extension. Note: particular take must be taken when implementing this method as it could cause BlueJ UI thread (JavaFX thread).
filePath- the file path to launch