2.17.2: 2011-06-17

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) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.basedb.core.plugin.Plugin
Plugin.MainType
 
Method Summary
 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, getAbout, 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

2.17.2: 2011-06-17