public abstract class ExporterFilter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ExporterFilter |
nextFilter |
| Constructor and Description |
|---|
ExporterFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.io.InputStream |
doGetInputStream(java.io.InputStream in)
Initializes an input stream based on the exporter's parameters and
encapsulates the passed input stream.
|
protected abstract java.io.OutputStream |
doGetOutputStream(java.io.OutputStream out)
Initializes an output stream based on the exporter's parameters and
encapsulates the passed output stream.
|
java.io.InputStream |
getInputStream(java.io.InputStream in)
Obtains an input stream which combines all the associated filter's
input streams.
|
protected abstract java.lang.String |
getName()
Returns the exporter's name.
|
ExporterFilter |
getNextFilter()
Getter for the next filter to be applied.
|
java.io.OutputStream |
getOutputStream(java.io.OutputStream out)
Obtains an output stream which combines all the associated filter's
output streams.
|
void |
setNextFilter(ExporterFilter nextFilter)
Setter for the next filter to be applied.
|
protected ExporterFilter nextFilter
public java.io.InputStream getInputStream(java.io.InputStream in)
throws InternalErrorException
in - the base input stream.InternalErrorExceptionprotected abstract java.io.InputStream doGetInputStream(java.io.InputStream in)
throws InternalErrorException
in - a starting input stream.InternalErrorExceptionpublic java.io.OutputStream getOutputStream(java.io.OutputStream out)
throws InternalErrorException
out - the base output stream.InternalErrorExceptionprotected abstract java.io.OutputStream doGetOutputStream(java.io.OutputStream out)
throws InternalErrorException
in - a starting output stream.InternalErrorExceptionpublic ExporterFilter getNextFilter()
public void setNextFilter(ExporterFilter nextFilter)
nextFilter - the filter.protected abstract java.lang.String getName()
Copyright © 2024 Denodo Technologies. All rights reserved.