de.grogra.pf.io
public class ObjectSourceImpl extends FilterSourceBase implements ObjectSource, WriterSource
FilterSource.MetaDataKey<V>AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL| Constructor and Description |
|---|
ObjectSourceImpl(java.lang.Object object,
java.lang.String systemId,
IOFlavor flavor,
Registry r,
ModifiableMap metaData) |
ObjectSourceImpl(java.lang.Object object,
java.lang.String systemId,
MimeType mimeType,
Registry r,
ModifiableMap metaData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObject()
Returns the data as an object of a class which is compatible which
the flavor.
|
java.lang.String |
getSystemId()
Returns a system id which identifies this source.
|
void |
write(java.io.Writer out)
This method writes the data to
out. |
getFilter, getFlavor, getMetaData, getRegistry, initProgressMonitor, setMetaData, setProgress, setProgress0, setProgressImpl, toString, useAutoProgressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, initProgressMonitor, setMetaData, setProgressgetRegistrypublic ObjectSourceImpl(java.lang.Object object,
java.lang.String systemId,
IOFlavor flavor,
Registry r,
ModifiableMap metaData)
public ObjectSourceImpl(java.lang.Object object,
java.lang.String systemId,
MimeType mimeType,
Registry r,
ModifiableMap metaData)
public java.lang.Object getObject()
ObjectSourcegetObject in interface ObjectSourcepublic java.lang.String getSystemId()
FilterSourcegetSystemId in interface FilterSourcepublic void write(java.io.Writer out)
throws java.io.IOException
WriterSourceout.write in interface WriterSourceout - the writer to which data is writtenjava.io.IOException