com.liferay.util.servlet
Class ByteArrayInputStreamWrapper
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.liferay.util.servlet.ByteArrayInputStreamWrapper
- All Implemented Interfaces:
- Closeable
public class ByteArrayInputStreamWrapper
- extends javax.servlet.ServletInputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayInputStreamWrapper
public ByteArrayInputStreamWrapper(ByteArrayInputStream byteArrayInputStream)
available
public int available()
- Overrides:
available
in class InputStream
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
mark
public void mark(int readLimit)
- Overrides:
mark
in class InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class InputStream
read
public int read()
- Specified by:
read
in class InputStream
read
public int read(byte[] byteArray)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] byteArray,
int offset,
int length)
- Overrides:
read
in class InputStream
readLine
public int readLine(byte[] byteArray,
int offset,
int length)
- Overrides:
readLine
in class javax.servlet.ServletInputStream
reset
public void reset()
- Overrides:
reset
in class InputStream
skip
public long skip(long skip)
- Overrides:
skip
in class InputStream