public interface

BinaryStream

org.hibernate.type.descriptor.BinaryStream
Known Indirect Subclasses

Class Overview

Wraps a binary stream to also provide the length which is needed when binding.

Summary

Public Methods
abstract byte[] getBytes()
Access to the bytes.
abstract InputStream getInputStream()
Retrieve the input stream.
abstract int getLength()
Retrieve the length of the input stream

Public Methods

public abstract byte[] getBytes ()

Access to the bytes.

Returns
  • The bytes.

public abstract InputStream getInputStream ()

Retrieve the input stream.

Returns
  • The input stream

public abstract int getLength ()

Retrieve the length of the input stream

Returns
  • The input stream length