public class ByteArrayInputStreamAccess extends Object implements InputStreamAccess
Constructor and Description |
---|
ByteArrayInputStreamAccess(String name,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
InputStream |
accessInputStream()
Get access to the stream.
|
String |
getStreamName()
Get the name of the resource backing the stream
|
public ByteArrayInputStreamAccess(String name, byte[] bytes)
public String getStreamName()
InputStreamAccess
getStreamName
in interface InputStreamAccess
public InputStream accessInputStream()
InputStreamAccess
accessInputStream
in interface InputStreamAccess
Copyright © 2019 JBoss by Red Hat. All rights reserved.