Package bluej.extensions2
Class ExternalFileLauncher
- java.lang.Object
-
- bluej.extensions2.ExternalFileLauncher
-
public final class ExternalFileLauncher extends java.lang.Object
Class holding the information between a file type and an associated launcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExternalFileLauncher.OpenExternalFileHandler
This interface allows a mechanism for a BlueJ extension to write a launcher, and for BlueJ to call this launcher.
-
Constructor Summary
Constructors Constructor Description ExternalFileLauncher(java.lang.String extension, ExternalFileLauncher.OpenExternalFileHandler launcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileExtension()
ExternalFileLauncher.OpenExternalFileHandler
getLauncher()
-
-
-
Constructor Detail
-
ExternalFileLauncher
public ExternalFileLauncher(java.lang.String extension, ExternalFileLauncher.OpenExternalFileHandler launcher)
-
-
Method Detail
-
getFileExtension
public java.lang.String getFileExtension()
- Returns:
- the file extension defined in this ExternalFileLauncher object.
-
getLauncher
public ExternalFileLauncher.OpenExternalFileHandler getLauncher()
- Returns:
- the file launcher defined in this ExternalFileLauncher object.
- See Also:
ExternalFileLauncher.OpenExternalFileHandler
-
-