java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.rgg.model.CompiledRGGFilter
- All Implemented Interfaces:
Filter
,FilterSource
,ObjectSource
,RegistryContext
,Map
An
CompiledRGGFilter
reads a byte stream representing a JAR file
into a CompilationUnit
.- Author:
- Ole Kniemeyer
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
-
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
ConstructorsConstructorDescriptionCompiledRGGFilter
(FilterItem item, ReaderSource source) Constructs a new filter which transforms the inputsource
into an instance ofCompilationUnit
which can be compiled afterwards. -
Method Summary
Modifier and TypeMethodDescriptionReturns the data as an object of a class which is compatible which the flavor.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 Details
-
CompiledRGGFilter
Constructs a new filter which transforms the inputsource
into an instance ofCompilationUnit
which can be compiled afterwards.- Parameters:
item
- the defining item for this filter within the registry, may benull
source
- the source from which the input stream of characters will be read- See Also:
-
getObject()
#compile()
-
-
Method Details
-
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 interfaceObjectSource
- Returns:
- the data
- Throws:
IOException
-