com.liferay.portal.kernel.io.unsync
Class UnsyncFilterInputStream
java.lang.Object
java.io.InputStream
com.liferay.portal.kernel.io.unsync.UnsyncFilterInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Direct Known Subclasses:
- UnsyncBufferedInputStream
public class UnsyncFilterInputStream
- extends java.io.InputStream
View Source
See http://issues.liferay.com/browse/LPS-6648.
- Author:
- Shuyang Zhou
Field Summary |
protected java.io.InputStream |
inputStream
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputStream
protected java.io.InputStream inputStream
UnsyncFilterInputStream
public UnsyncFilterInputStream(java.io.InputStream inputStream)
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException
mark
public void mark(int readLimit)
- Overrides:
mark
in class java.io.InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] byteArray)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] byteArray,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Overrides:
reset
in class java.io.InputStream
- Throws:
java.io.IOException
skip
public long skip(long skip)
throws java.io.IOException
- Overrides:
skip
in class java.io.InputStream
- Throws:
java.io.IOException