java.lang.Object
de.grogra.pf.io.FilterSourceBase
de.grogra.pf.io.ObjectSourceImpl
- All Implemented Interfaces:
FilterSource,ObjectSource,WriterSource,RegistryContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V> -
Field Summary
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL -
Constructor Summary
ConstructorsConstructorDescriptionObjectSourceImpl(Object object, String systemId, IOFlavor flavor, Registry r, ModifiableMap metaData) ObjectSourceImpl(Object object, String systemId, MimeType mimeType, Registry r, ModifiableMap metaData) -
Method Summary
Methods inherited from class de.grogra.pf.io.FilterSourceBase
getFilter, getFlavor, getMetaData, getRegistry, initProgressMonitor, setMetaData, setProgress, setProgress0, setProgressImpl, toString, useAutoProgressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, initProgressMonitor, setMetaData, setProgressMethods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Constructor Details
-
ObjectSourceImpl
public ObjectSourceImpl(Object object, String systemId, IOFlavor flavor, Registry r, ModifiableMap metaData) -
ObjectSourceImpl
public ObjectSourceImpl(Object object, String systemId, MimeType mimeType, Registry r, ModifiableMap metaData)
-
-
Method Details
-
getSystemId
Description copied from interface:FilterSourceReturns a system id which identifies this source.- Specified by:
getSystemIdin interfaceFilterSource- Returns:
- system id
-
getObject
Description copied from interface:ObjectSourceReturns the data as an object of a class which is compatible which the flavor.- Specified by:
getObjectin interfaceObjectSource- Returns:
- the data
-
write
Description copied from interface:WriterSourceThis method writes the data toout.- Specified by:
writein interfaceWriterSource- Parameters:
out- the writer to which data is written- Throws:
IOException
-