- All Superinterfaces:
RegistryContext
- All Known Subinterfaces:
DOMSource
,FileReaderSource
,FileWriterSource
,InputStreamSource
,ObjectSource
,OutputStreamSource
,ReaderSource
,SAXSource
,VirtualFileReaderSource
,VirtualFileWriterSource
,WriterSource
- All Known Implementing Classes:
AsArrayImporter
,AsArrayImporter.LoaderAsNode
,AsGraphImporter.LoaderAsNode
,AsGraphImporter.LoaderAsNode
,AsListImporter
,AsListImporter.LoaderAsNode
,AsListImporter.LoaderAsNode
,ClassicVRMLExport
,CompilationFilter
,CompiledRGGFilter
,ContourFilter
,CSVWriter
,DOMSourceImpl
,DTDFilter
,DTDSourceFile.Loader
,DTGFilter
,DXFExport
,ExcelWriter
,FileSource
,FilterBase
,FilterSourceBase
,FunctionFilter
,FunctionReader
,GLTFExport
,GLTFLoader
,GraphMLReader
,GraphObjectFilter
,GraphReader
,GraphXMLSource
,GSReader
,GSWriter
,GSZCWriter
,GSZReader
,GSZWriter
,GUnzipFilter
,GZipFilter
,HTMLWriter
,IESFilter
,ImageReader
,ImageWriter
,ImportFilter
,ImportFilter
,InputStreamSourceImpl
,JavaFilter
,LazyFilter
,LSYFilter
,LuminanceFilter
,MSMLProjectLoader
,MSMLReader
,MSMLWriter
,MTGExport
,MTGFilter
,MTGLoader
,MTGReader
,MTGSourceFile.Loader
,NullResourceFilter
,NullSource
,ObjectSourceImpl
,OBJExport
,OptionsSource.Loader
,PDBImport
,PDFWriter
,PlainTextWriter
,PLYExport
,PointCloudFilterBase
,POVExport
,PreferencesFile
,QSMImporter
,ReaderSourceImpl
,RegistryReader
,RGGFilter
,RootlessXMLExporter
,RootlessXMLFilter
,SAXFilterBase
,SAXSourceBase
,SceneGraphExport
,SecGraphExporter
,SecGraphFilter
,ShellFilter
,SMBFilter
,SourceFile.Loader
,SPDFilter
,STLExport
,StreamAdapter
,SurfaceFilter
,TEXExport
,VRML97Export
,WebGLExport
,X3DExport
,X3DImport
,XEGExportScene
,XEGImportFilter
,XEGImportScene
,XFrogFilter
,XFrogProjectLoader
,XLFilter
,XMLPatchReader
,XMLReaderBase
,XMLSerializer
,XMLTableReader
,XMLWriter
,XSLTFilter
Instances of
FilterSource
represent data sources in the
pipeline of Filter
s.- Author:
- Ole Kniemeyer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
static final FilterSource.MetaDataKey<File>
static final FilterSource.MetaDataKey<URL>
-
Method Summary
Modifier and TypeMethodDescriptionReturns theFilter
from which this instance obtains its data.Returns theIOFlavor
of this data source.<V> V
getMetaData
(FilterSource.MetaDataKey<V> key, V defaultValue) Returns a system id which identifies this source.void
initProgressMonitor
(ProgressMonitor monitor) <V> void
setMetaData
(FilterSource.MetaDataKey<V> key, V value) void
setProgress
(String text, float progress) Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Field Details
-
DESTINATION_FILE
-
DESTINATION_URL
-
AUTO_PROGRESS
static final float AUTO_PROGRESS- See Also:
-
-
Method Details
-
getFilter
Filter getFilter()Returns theFilter
from which this instance obtains its data. If there is no such filter, i.e., if this is the first object in the filter pipeline, this method returnsnull
.- Returns:
- the filter from which data is obtained, or
null
-
getFlavor
IOFlavor getFlavor()Returns theIOFlavor
of this data source. Depending on the flavor, this instance has to implement corresponding subinterfaces ofFilterSource
.- Returns:
- the flavor of the data
-
getSystemId
String getSystemId()Returns a system id which identifies this source.- Returns:
- system id
-
getMetaData
-
setMetaData
-
initProgressMonitor
-
setProgress
-