de.grogra.pf.io
Class NullResourceFilter

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

public final class NullResourceFilter
extends FilterBase
implements ObjectSource, ResourceLoader


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
NullResourceFilter(FilterItem item, FilterSource source)
           
 
Method Summary
 boolean addResource(FilterSource source)
           
 java.lang.String getJoinedDeactivationCategory()
           
 java.lang.Object getObject()
          Returns the data as an object of a class which is compatible which the flavor.
 void loadResource(Registry r)
           
 
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

NullResourceFilter

public NullResourceFilter(FilterItem item,
                          FilterSource source)
Method Detail

addResource

public boolean addResource(FilterSource source)
Specified by:
addResource in interface ResourceLoader

getJoinedDeactivationCategory

public java.lang.String getJoinedDeactivationCategory()
Specified by:
getJoinedDeactivationCategory in interface ResourceLoader

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

loadResource

public void loadResource(Registry r)
Specified by:
loadResource in interface ResourceLoader