public interface WrappedConfigureByExample extends Plugin
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.Plugin.MainType
Modifier and Type | Method and Description |
---|---|
InputStream |
wrapInputStream(InputStream in)
Wrap an input stream within another stream, for example, a gzip input stream.
|
done, getMainType, getPermissions, init, requiresConfiguration, run, supportsConfigurations
InputStream wrapInputStream(InputStream in) throws IOException
in
- The input stream to wrapIOException
- If there is an error