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 |
---|---|
java.io.InputStream |
wrapInputStream(java.io.InputStream in)
Wrap an input stream within another stream, for example, a gzip input stream.
|
done, getMainType, getPermissions, init, requiresConfiguration, run, supportsConfigurations
java.io.InputStream wrapInputStream(java.io.InputStream in) throws java.io.IOException
in
- The input stream to wrapjava.io.IOException
- If there is an error