Package net.sf.basedb.util.parser
Interface WrappedConfigureByExample
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
GtfReporterImporter
,GtfReporterMapImporter
This is an extension to the
ConfigureByExample
interface
that allows a plug-in to wrap an input stream with another stream.
This is useful if the file data is compressed, for example, with gzip.- Version:
- 2.6
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.basedb.core.plugin.Plugin
Plugin.MainType
-
Method Summary
Modifier and TypeMethodDescriptionWrap an input stream within another stream, for example, a gzip input stream.Methods inherited from interface net.sf.basedb.core.plugin.Plugin
done, getMainType, getPermissions, init, requiresConfiguration, run, supportsConfigurations
-
Method Details
-
wrapInputStream
Wrap an input stream within another stream, for example, a gzip input stream.- Parameters:
in
- The input stream to wrap- Returns:
- The same or a different input stream
- Throws:
IOException
- If there is an error
-