Class CellID
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.CellID
-
- All Implemented Interfaces:
IFSSHTTPBSerializable
public class CellID extends BasicObject
-
-
Field Summary
Fields Modifier and Type Field Description ExGuid
extendGUID1
ExGuid
extendGUID2
-
Constructor Summary
Constructors Constructor Description CellID()
Initializes a new instance of the CellID class, this is default constructor.CellID(CellID cellId)
Initializes a new instance of the CellID class, this is the copy constructor.CellID(ExGuid extendGuid1, ExGuid extendGuid2)
Initializes a new instance of the CellID class with specified ExGuids.
-
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 CellID basic object from the specified byte array and start index.boolean
equals(Object obj)
Override the Equals method.int
hashCode()
Override the GetHashCode.List<Byte>
serializeToByteList()
This method is used to convert the element of CellID basic object into a byte List.-
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
deserializeFromByteArray, parse
-
-
-
-
Constructor Detail
-
CellID
public CellID(ExGuid extendGuid1, ExGuid extendGuid2)
Initializes a new instance of the CellID class with specified ExGuids.- Parameters:
extendGuid1
- Specify the first ExGuid.extendGuid2
- Specify the second ExGuid.
-
CellID
public CellID(CellID cellId)
Initializes a new instance of the CellID class, this is the copy constructor.- Parameters:
cellId
- Specify the CellID.
-
CellID
public CellID()
Initializes a new instance of the CellID class, this is default constructor.
-
-
Method Detail
-
serializeToByteList
public List<Byte> serializeToByteList() throws IOException
This method is used to convert the element of CellID 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 CellID.
- Throws:
IOException
-
equals
public boolean equals(Object obj)
Override the Equals method.
-
hashCode
public int hashCode()
Override the GetHashCode.
-
doDeserializeFromByteArray
protected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws TikaException, IOException
This method is used to deserialize the CellID 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 CellID basic object.
- Throws:
TikaException
IOException
-
-