Interface BinaryHandler


public interface BinaryHandler
Handler for parsing and patching BINARY objects
  • Method Summary

    Modifier and Type
    Method
    Description
    format(Object binaryObject)
    Serializes a platform specific BINARY object to a BINARY string representation.
    parse(String binaryString)
    Parses a BINARY string into a platform specific representation.
    patch(Object existingObject, String binaryPatchString)
    Patches a platform specific BINARY representation with an RFC 3284 BINARY patch string.
  • Method Details

    • parse

      Object parse(String binaryString)
      Parses a BINARY string into a platform specific representation.
      Parameters:
      binaryString - the string to parse
      Returns:
      a platform specific representation of the BINARY object
    • patch

      Object patch(Object existingObject, String binaryPatchString)
      Patches a platform specific BINARY representation with an RFC 3284 BINARY patch string.
      Parameters:
      existingObject - the platform specific BINARY representation
      binaryPatchString - the binary patch string in RFC 3284 format
      Returns:
      a platform specific representation of the patched BINARY object
    • format

      String format(Object binaryObject)
      Serializes a platform specific BINARY object to a BINARY string representation.
      Parameters:
      binaryObject - a platform specific BINARY object
      Returns:
      a BINARY string representation of the object
      Throws:
      Exception - if conversion fails