Package com.caplin.streamlink
Interface BinaryHandler
public interface BinaryHandler
Handler for parsing and patching BINARY objects
-
Method Summary
Modifier and TypeMethodDescriptionSerializes a platform specific BINARY object to a BINARY string representation.Parses a BINARY string into a platform specific representation.Patches a platform specific BINARY representation with an RFC 3284 BINARY patch string.
-
Method Details
-
parse
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
Patches a platform specific BINARY representation with an RFC 3284 BINARY patch string.- Parameters:
existingObject- the platform specific BINARY representationbinaryPatchString- the binary patch string in RFC 3284 format- Returns:
- a platform specific representation of the patched BINARY object
-
format
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
-