de.grogra.mtg
Class MTGSourceFile.Loader

java.lang.Object
  extended by de.grogra.pf.io.FilterBase
      extended by de.grogra.mtg.MTGSourceFile.Loader
All Implemented Interfaces:
Filter, FilterSource, GraphLoader, ObjectSource, ProjectLoader, RegistryLoader, RegistryContext, Map
Enclosing class:
MTGSourceFile

public static class MTGSourceFile.Loader
extends FilterBase
implements ObjectSource, ProjectLoader


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
 
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
 
Field Summary
 
Fields inherited from class de.grogra.pf.io.FilterBase
item, source
 
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
 
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
 
Constructor Summary
MTGSourceFile.Loader(FilterItem item, FilterSource source)
           
 
Method Summary
 java.lang.Object getObject()
          Returns the data as an object of a class which is compatible which the flavor.
 void loadGraph(Registry registry)
           
 void loadRegistry(Registry registry)
           
 void loadWorkbench(Workbench wb)
           
 
Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
 
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
 

Constructor Detail

MTGSourceFile.Loader

public MTGSourceFile.Loader(FilterItem item,
                            FilterSource source)
Method Detail

getObject

public java.lang.Object getObject()
Description copied from interface: ObjectSource
Returns the data as an object of a class which is compatible which the flavor.

Specified by:
getObject in interface ObjectSource
Returns:
the data

loadGraph

public void loadGraph(Registry registry)
               throws java.io.IOException
Specified by:
loadGraph in interface GraphLoader
Throws:
java.io.IOException

loadRegistry

public void loadRegistry(Registry registry)
                  throws java.io.IOException
Specified by:
loadRegistry in interface RegistryLoader
Throws:
java.io.IOException

loadWorkbench

public void loadWorkbench(Workbench wb)