com.aspose.note.revision

Interfaces

Classes

com.aspose.note.revision

Class ObjectSpaceObjectStream

    • Constructor Detail

      • ObjectSpaceObjectStream

        public ObjectSpaceObjectStream(ObjectSpaceObjectStreamHeader header,
                                       com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CompactId> body)

        Initializes a new instance of the ObjectSpaceObjectStream class.

        Parameters:
        header - The header.
        body - The body.
    • Method Detail

      • getHeader

        public ObjectSpaceObjectStreamHeader getHeader()

        Gets the number of elements in the body field and whether the ObjectSpaceObjectPropSet structure contains ContextIDs field. The value of the header.oSIDStreamNotPresent field must be "false". If the ContextIDs field is present, the value of the header.extendedStreamsPresent field must be true; otherwise, it MUST be false.

      • getBody

        public com.aspose.ms.System.Collections.Generic.IGenericList<CompactId> getBody()

        Gets a list of CompactID items where each element in the list specifies the identity of an object space.

      • toByteArray

        public byte[] toByteArray()

        The to byte array.

        Specified by:
        toByteArray in interface IBinarySerializable
        Returns:
        The T:byte[].
        Throws:
        com.aspose.ms.System.InvalidOperationException
      • equals

        public boolean equals(ObjectSpaceObjectStream other)

        The equals.

        Parameters:
        other - The other.
        Returns:
        The bool.
      • hashCode

        public int hashCode()

        The get hash code.

        Overrides:
        hashCode in class Object
        Returns:
        The int.
      • toString

        public String toString()

        The to string.

        Overrides:
        toString in class Object
        Returns:
        The string.