GraphLab Project

graphlab.plugins.main.saveload.core.extension
Class GraphIOExtensionHandler

java.lang.Object
  extended by graphlab.plugins.main.saveload.core.extension.GraphIOExtensionHandler
All Implemented Interfaces:
ExtensionHandler, StorableOnExit

public class GraphIOExtensionHandler
extends java.lang.Object
implements ExtensionHandler, StorableOnExit

the plug in handler for graph Input and Output, this class loads classes that are implementing GraphReaderExtension interface,...

Author:
azin azadi

Field Summary
static java.lang.String defaultFile
           
 
Fields inherited from interface graphlab.platform.preferences.lastsettings.StorableOnExit
SETTINGS
 
Constructor Summary
GraphIOExtensionHandler(boolean isHandlingReaders)
           
 
Method Summary
 AbstractAction handle(BlackBoard b, java.lang.Object ext)
          tries to handle the given Object as a known Extension,...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFile

public static java.lang.String defaultFile
Constructor Detail

GraphIOExtensionHandler

public GraphIOExtensionHandler(boolean isHandlingReaders)
Parameters:
isHandlingReaders - indicates that if this Object should handle GraphReaders or GraphWriters
Method Detail

handle

public AbstractAction handle(BlackBoard b,
                             java.lang.Object ext)
Description copied from interface: ExtensionHandler
tries to handle the given Object as a known Extension,... normally, Extensions are interfaces that can be sandwiched in an AbstractAction Automatically, there is options for generating menus automatically after loading it (By returning AbstractExtensionAction) .

Specified by:
handle in interface ExtensionHandler
Parameters:
b -
ext -
Returns:
null if ext doesn't implements GraphReaderExtension
See Also:
AbstractExtensionAction

GraphLab Project