类 ByteArrayInputStreamAccess
- java.lang.Object
-
- org.hibernate.boot.archive.internal.ByteArrayInputStreamAccess
-
- 所有已实现的接口:
InputStreamAccess
public class ByteArrayInputStreamAccess extends Object implements InputStreamAccess
An InputStreamAccess implementation based on a byte array- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ByteArrayInputStreamAccess(String name, byte[] bytes)
-
-
-
构造器详细资料
-
ByteArrayInputStreamAccess
public ByteArrayInputStreamAccess(String name, byte[] bytes)
-
-
方法详细资料
-
getStreamName
public String getStreamName()
从接口复制的说明:InputStreamAccessGet the name of the resource backing the stream- 指定者:
getStreamName在接口中InputStreamAccess- 返回:
- The backing resource name
-
accessInputStream
public InputStream accessInputStream()
从接口复制的说明:InputStreamAccessGet access to the stream. Can be called multiple times, a different stream instance should be returned each time.- 指定者:
accessInputStream在接口中InputStreamAccess- 返回:
- The stream
-
-