Class BufferedSocketInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.github.shyiko.mysql.binlog.io.BufferedSocketInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class BufferedSocketInputStream extends FilterInputStream
- Author:
- Stanley Shyiko
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description BufferedSocketInputStream(InputStream in)BufferedSocketInputStream(InputStream in, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intread()intread(byte[] b, int off, int len)-
Methods inherited from class java.io.FilterInputStream
close, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
BufferedSocketInputStream
public BufferedSocketInputStream(InputStream in)
-
BufferedSocketInputStream
public BufferedSocketInputStream(InputStream in, int bufferSize)
-
-
Method Detail
-
available
public int available() throws IOException- Overrides:
availablein classFilterInputStream- Throws:
IOException
-
read
public int read() throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
-