public class SlowInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
static int[] |
CONTENTS |
static int |
EOF |
static int |
FULL_LENGTH |
static int |
PAYLOAD |
Constructor and Description |
---|
SlowInputStream() |
SlowInputStream(byte[] bytes) |
SlowInputStream(int[] contents) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
close, read, skip
public static final int EOF
public static int PAYLOAD
public static int[] CONTENTS
public static final int FULL_LENGTH
public SlowInputStream()
public SlowInputStream(int[] contents)
public SlowInputStream(byte[] bytes)
public int available() throws IOException
available
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void reset() throws IOException
reset
in class InputStream
IOException
public void mark(int readlimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.