Class BinaryValue

java.lang.Object
org.apache.jackrabbit.value.BaseValue
org.apache.jackrabbit.value.BinaryValue
All Implemented Interfaces:
Value

public class BinaryValue extends BaseValue
A BinaryValue provides an implementation of the Value interface representing a binary value.
  • Field Details

  • Constructor Details

    • BinaryValue

      public BinaryValue(String text)
      Constructs a BinaryValue object based on a string.
      Parameters:
      text - the string this BinaryValue should represent
    • BinaryValue

      public BinaryValue(Binary bin)
      Constructs a BinaryValue object based on a Binary.
      Parameters:
      bin - the bytes this BinaryValue should represent
    • BinaryValue

      public BinaryValue(InputStream stream)
      Constructs a BinaryValue object based on a stream.
      Parameters:
      stream - the stream this BinaryValue should represent
    • BinaryValue

      public BinaryValue(byte[] data)
      Constructs a BinaryValue object based on a byte array.
      Parameters:
      data - the bytes this BinaryValue should represent
  • Method Details