| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | LoadServiceResourceInputStream(byte[]
the bytes to wrap in this stream bytes)Construct a LoadServiceResourceInputStream from the given bytes. |
| public | LoadServiceResourceInputStream(InputStream
the stream from which to read bytes stream)Construct a new LoadServiceInputStream by reading all bytes from the specified stream. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public byte[] |
| NULL_BYTE_ARRAY | back to summary |
|---|---|
| private static final byte[] NULL_BYTE_ARRAY | |
| READ_CHUNK_SIZE | back to summary |
|---|---|
| private static final int READ_CHUNK_SIZE | |
| LoadServiceResourceInputStream | back to summary |
|---|---|
| public LoadServiceResourceInputStream(byte[] bytes) Construct a LoadServiceResourceInputStream from the given bytes.
| |
| LoadServiceResourceInputStream | back to summary |
|---|---|
| public LoadServiceResourceInputStream(InputStream stream) throws IOException Construct a new LoadServiceInputStream by reading all bytes from the specified stream. You are responsible for the lifecycle of the given stream after this constructor has been called (i.e. it will not be closed for you).
| |
| bufferEntireStream | back to summary |
|---|---|
| private void bufferEntireStream(InputStream stream) throws IOException | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() | |