public class StreamWrapperChain extends DelegatingStreamWrapper
Constructor and Description |
---|
StreamWrapperChain(IStreamWrapper head,
IStreamWrapper delegate) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFinishInputStream(InputStream in) |
protected void |
doFinishOutputStream(OutputStream out) |
protected InputStream |
doWrapInputStream(InputStream in) |
protected OutputStream |
doWrapOutputStream(OutputStream out) |
IStreamWrapper |
getHead() |
finishInputStream, finishOutputStream, getDelegate, wrapInputStream, wrapOutputStream
public StreamWrapperChain(IStreamWrapper head, IStreamWrapper delegate)
public IStreamWrapper getHead()
protected InputStream doWrapInputStream(InputStream in) throws IOException
doWrapInputStream
in class DelegatingStreamWrapper
IOException
protected OutputStream doWrapOutputStream(OutputStream out) throws IOException
doWrapOutputStream
in class DelegatingStreamWrapper
IOException
protected void doFinishInputStream(InputStream in) throws IOException
doFinishInputStream
in class DelegatingStreamWrapper
IOException
protected void doFinishOutputStream(OutputStream out) throws IOException
doFinishOutputStream
in class DelegatingStreamWrapper
IOException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.