public class NativeStream extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INPUT_OP_CLOSE |
static int |
INPUT_OP_READ |
static int |
INPUT_OP_SKIP |
static int |
OUTPUT_OP_CLOSE |
static int |
OUTPUT_OP_FLUSH |
static int |
OUTPUT_OP_WRITE |
static int |
RANDOM_OP_GET_LENGTH |
static int |
RANDOM_OP_GET_POSITION |
static int |
RANDOM_OP_SET_LENGTH |
static int |
RANDOM_OP_SET_POSITION |
| Constructor and Description |
|---|
NativeStream() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setNativeStreamFor(Object obj,
int nativeStream) |
static long |
streamOperation(int nativeStream,
int operation,
byte[] data,
int offset,
long length) |
public static final int INPUT_OP_CLOSE
public static final int INPUT_OP_SKIP
public static final int INPUT_OP_READ
public static final int OUTPUT_OP_CLOSE
public static final int OUTPUT_OP_FLUSH
public static final int OUTPUT_OP_WRITE
public static final int RANDOM_OP_GET_POSITION
public static final int RANDOM_OP_SET_POSITION
public static final int RANDOM_OP_GET_LENGTH
public static final int RANDOM_OP_SET_LENGTH
public static long streamOperation(int nativeStream,
int operation,
byte[] data,
int offset,
long length)
throws IOException
IOExceptionpublic static void setNativeStreamFor(Object obj, int nativeStream)