Package ca.phon.app.actions
Class XMLFileOpenHandler
java.lang.Object
ca.phon.app.actions.XMLFileOpenHandler
- All Implemented Interfaces:
OpenFileHandler
,IPluginExtensionPoint<OpenFileHandler>
public class XMLFileOpenHandler
extends Object
implements OpenFileHandler, IPluginExtensionPoint<OpenFileHandler>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Can this handler open this file?Class<?>
Get type of extensionGet factory for extension point objectsvoid
Open the file in the appropriate editor/viewer.
-
Constructor Details
-
XMLFileOpenHandler
public XMLFileOpenHandler()
-
-
Method Details
-
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<OpenFileHandler>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<OpenFileHandler>
-
supportedExtensions
- Specified by:
supportedExtensions
in interfaceOpenFileHandler
- Returns:
- Set of supported file extensions (without '.')
-
canOpen
Description copied from interface:OpenFileHandler
Can this handler open this file?- Specified by:
canOpen
in interfaceOpenFileHandler
- Throws:
IOException
-
openFile
Description copied from interface:OpenFileHandler
Open the file in the appropriate editor/viewer.- Specified by:
openFile
in interfaceOpenFileHandler
- Parameters:
args
- - arguments pass to the open file handler- Throws:
IOException
-