Class ExGUIDArray
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ExGUIDArray
-
- All Implemented Interfaces:
IFSSHTTPBSerializable
public class ExGUIDArray extends BasicObject
-
-
Field Summary
Fields Modifier and Type Field Description List<ExGuid>
content
Gets or sets an extended GUID arrayCompact64bitInt
count
-
Constructor Summary
Constructors Constructor Description ExGUIDArray()
Initializes a new instance of the ExGUIDArray class, this is the default constructor.ExGUIDArray(List<ExGuid> content)
Initializes a new instance of the ExGUIDArray class with specified value.ExGUIDArray(ExGUIDArray extendGuidArray)
Initializes a new instance of the ExGUIDArray class, this is copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
doDeserializeFromByteArray(byte[] byteArray, int startIndex)
This method is used to deserialize the ExGUIDArray basic object from the specified byte array and start index.List<ExGuid>
getContent()
List<Byte>
serializeToByteList()
This method is used to convert the element of ExGUIDArray basic object into a byte List.void
setContent(List<ExGuid> content)
-
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
deserializeFromByteArray, parse
-
-
-
-
Field Detail
-
count
public Compact64bitInt count
-
-
Constructor Detail
-
ExGUIDArray
public ExGUIDArray(List<ExGuid> content)
Initializes a new instance of the ExGUIDArray class with specified value.- Parameters:
content
- Specify the list of ExGuid contents.
-
ExGUIDArray
public ExGUIDArray(ExGUIDArray extendGuidArray)
Initializes a new instance of the ExGUIDArray class, this is copy constructor.- Parameters:
extendGuidArray
- Specify the ExGUIDArray where copies from.
-
ExGUIDArray
public ExGUIDArray()
Initializes a new instance of the ExGUIDArray class, this is the default constructor.
-
-
Method Detail
-
serializeToByteList
public List<Byte> serializeToByteList() throws IOException
This method is used to convert the element of ExGUIDArray basic object into a byte List.- Specified by:
serializeToByteList
in interfaceIFSSHTTPBSerializable
- Specified by:
serializeToByteList
in classBasicObject
- Returns:
- Return the byte list which store the byte information of ExGUIDArray.
- Throws:
IOException
-
doDeserializeFromByteArray
protected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws TikaException, IOException
This method is used to deserialize the ExGUIDArray basic object from the specified byte array and start index.- Specified by:
doDeserializeFromByteArray
in classBasicObject
- Parameters:
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.- Returns:
- Return the length in byte of the ExGUIDArray basic object.
- Throws:
TikaException
IOException
-
-