类 BinaryStreamImpl
- java.lang.Object
-
- java.io.InputStream
-
- java.io.ByteArrayInputStream
-
- org.hibernate.engine.jdbc.internal.BinaryStreamImpl
-
- 所有已实现的接口:
Closeable,AutoCloseable,BinaryStream
public final class BinaryStreamImpl extends ByteArrayInputStream implements BinaryStream
Implementation ofBinaryStream- 作者:
- Steve Ebersole
-
-
字段概要
-
从类继承的字段 java.io.ByteArrayInputStream
buf, count, mark, pos
-
-
构造器概要
构造器 构造器 说明 BinaryStreamImpl(byte[] bytes)Constructs a BinaryStreamImpl
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]getBytes()Access to the bytes.InputStreamgetInputStream()Retrieve the input stream.longgetLength()Retrieve the length of the input streamvoidrelease()Release any underlying resources.-
从类继承的方法 java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
-
从类继承的方法 java.io.InputStream
nullInputStream, read, readNBytes
-
-
-
-
方法详细资料
-
getInputStream
public InputStream getInputStream()
从接口复制的说明:BinaryStreamRetrieve the input stream.- 指定者:
getInputStream在接口中BinaryStream- 返回:
- The input stream
-
getBytes
public byte[] getBytes()
从接口复制的说明:BinaryStreamAccess to the bytes.- 指定者:
getBytes在接口中BinaryStream- 返回:
- The bytes.
-
getLength
public long getLength()
从接口复制的说明:BinaryStreamRetrieve the length of the input stream- 指定者:
getLength在接口中BinaryStream- 返回:
- The input stream length
-
release
public void release()
从接口复制的说明:BinaryStreamRelease any underlying resources.- 指定者:
release在接口中BinaryStream
-
-