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