public class SMYLDInputStream extends BufferedInputStream implements Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BLOCK_SIZE |
static int |
DEFAULT_SLEEP_TIME |
in| Constructor and Description |
|---|
SMYLDInputStream(InputStream inputStream) |
SMYLDInputStream(InputStream inputStream,
int BlockSize) |
SMYLDInputStream(InputStream inputStream,
int BlockSize,
long SleepTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStreamListener(StreamListener ListenerClass) |
void |
close() |
int |
read() |
void |
resume() |
void |
run() |
void |
setBlockSize(int readingBlockSize) |
void |
stop() |
available, mark, markSupported, read, reset, skipreadpublic static final int DEFAULT_BLOCK_SIZE
public static final int DEFAULT_SLEEP_TIME
public SMYLDInputStream(InputStream inputStream)
public SMYLDInputStream(InputStream inputStream, int BlockSize)
public SMYLDInputStream(InputStream inputStream, int BlockSize, long SleepTime)
public int read()
read in class BufferedInputStreampublic void addStreamListener(StreamListener ListenerClass)
public void stop()
public void resume()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class BufferedInputStreamIOExceptionpublic void setBlockSize(int readingBlockSize)
Copyright © 2019 com.github.mfjamil. All rights reserved.