public class LoadServiceResourceInputStream
extends java.io.ByteArrayInputStream
| Constructor and Description |
|---|
LoadServiceResourceInputStream(byte[] bytes)
Construct a LoadServiceResourceInputStream from the given bytes.
|
LoadServiceResourceInputStream(java.io.InputStream stream)
Construct a new LoadServiceInputStream by reading all bytes from the
specified stream.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
public LoadServiceResourceInputStream(byte[] bytes)
bytes - the bytes to wrap in this streampublic LoadServiceResourceInputStream(java.io.InputStream stream)
throws java.io.IOException
stream - the stream from which to read bytesjava.io.IOException - if the reading causes an IOExceptionCopyright © 2001-2021 JRuby. All Rights Reserved.