org.apache.axis2.jaxws.context.listener
Class CompositeInputStream
java.lang.Object
java.io.InputStream
org.apache.axis2.jaxws.context.listener.CompositeInputStream
- All Implemented Interfaces:
- Closeable
public class CompositeInputStream
- extends InputStream
CompositeInputStream has ability to store multiple inputStreams in a LinkList
and perform various input stream operaitons on these inputStream in a serialized
manner or first in first read model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeInputStream
public CompositeInputStream()
CompositeInputStream
public CompositeInputStream(InputStream is)
CompositeInputStream
public CompositeInputStream(InputStream[] isArray)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
append
public void append(InputStream is)
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.