public class TokenInputStream extends InputStream
| Constructor and Description |
|---|
TokenInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected boolean |
checkData() |
void |
close() |
protected boolean |
hasData() |
void |
putToken(byte[] buf,
int off,
int len) |
int |
read() |
int |
read(byte[] data) |
int |
read(byte[] data,
int off,
int len) |
String |
toString() |
mark, markSupported, reset, skippublic void putToken(byte[] buf,
int off,
int len)
public int read(byte[] data)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] data,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionprotected boolean checkData()
protected boolean hasData()
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2015. All rights reserved.