de.grogra.mtg
Class MTGFilter

java.lang.Object
  extended by de.grogra.pf.io.FilterBase
      extended by de.grogra.mtg.MTGFilter
All Implemented Interfaces:
Filter, FilterSource, ObjectSource, RegistryContext, Map

public class MTGFilter
extends FilterBase
implements ObjectSource

Since:
2011-11-24
Author:
yong

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
MTGFilter(FileSource source)
           
MTGFilter(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.
 java.lang.Object getObject(FileSource fs)
           
 
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

MTGFilter

public MTGFilter(FileSource source)

MTGFilter

public MTGFilter(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

getObject

public java.lang.Object getObject(FileSource fs)
                           throws java.io.IOException
Throws:
java.io.IOException