public class ByteArrayInputStreamAccess extends java.lang.Object implements InputStreamAccess
Constructor and Description |
---|
ByteArrayInputStreamAccess(java.lang.String name,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
accessInputStream()
Get access to the stream.
|
java.lang.String |
getStreamName()
Get the name of the resource backing the stream
|
public ByteArrayInputStreamAccess(java.lang.String name, byte[] bytes)
public java.lang.String getStreamName()
InputStreamAccess
getStreamName
in interface InputStreamAccess
public java.io.InputStream accessInputStream()
InputStreamAccess
accessInputStream
in interface InputStreamAccess
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.