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, skip
public void putToken(byte[] buf, int off, int len)
public int read(byte[] data) throws IOException
read
in class InputStream
IOException
public int read(byte[] data, int off, int len) throws IOException
read
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
protected boolean checkData()
protected boolean hasData()
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2016. All rights reserved.