net.sf.basedb.util.parser
Interface WrappedConfigureByExample
- All Superinterfaces:
- Plugin
public interface WrappedConfigureByExample
- extends Plugin
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 (Thu, 11 Sep 2008) $
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