java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.PropertySet
All Implemented Interfaces:
IProperty

public class PropertySet extends Object implements IProperty
This class is used to represent a PropertySet.
  • Field Details

    • cProperties

      public int cProperties
    • rgPrids

      public PropertyID[] rgPrids
    • rgData

      public List<IProperty> rgData
  • Constructor Details

    • PropertySet

      public PropertySet()
  • Method Details

    • serializeToByteList

      public List<Byte> serializeToByteList() throws IOException
      This method is used to convert the element of PropertySet into a byte List.
      Specified by:
      serializeToByteList in interface IProperty
      Returns:
      Return the byte list which store the byte information of PropertySet.
      Throws:
      IOException
    • doDeserializeFromByteArray

      public int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException
      This method is used to deserialize the PropertySet from the specified byte array and start index.
      Specified by:
      doDeserializeFromByteArray in interface IProperty
      Parameters:
      byteArray - Specify the byte array.
      startIndex - Specify the start index from the byte array.
      Returns:
      Return the length in byte of the PropertySet.
      Throws:
      IOException