private static class DataFlavorUtils.ByteBufferInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private java.nio.ByteBuffer |
bb |
| Modifier | Constructor and Description |
|---|---|
private |
ByteBufferInputStream(java.nio.ByteBuffer bb) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
public int available()
available in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException