Package net.sf.basedb.util.parser
Interface WrappedConfigureByExample
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
GtfReporterImporter
,GtfReporterMapImporter
public interface WrappedConfigureByExample extends Plugin
This is an extension to theConfigureByExample
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
wrapInputStream(InputStream in)
Wrap 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 Detail
-
wrapInputStream
InputStream wrapInputStream(InputStream in) throws IOException
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
-
-