Class StreamObjectHeaderEnd8bit
- java.lang.Object
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObjectHeaderEnd
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObjectHeaderEnd8bit
 
 
 
- 
- All Implemented Interfaces:
- IFSSHTTPBSerializable
 
 public class StreamObjectHeaderEnd8bit extends StreamObjectHeaderEnd An 8-bit header for a compound object would indicate the end of a stream object
- 
- 
Constructor SummaryConstructors Constructor Description StreamObjectHeaderEnd8bit()Initializes a new instance of the StreamObjectHeaderEnd8bit class, this is the default constructor.StreamObjectHeaderEnd8bit(int type)Initializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.StreamObjectHeaderEnd8bit(StreamObjectTypeHeaderEnd type)Initializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intdoDeserializeFromByteArray(byte[] byteArray, int startIndex)This method is used to deserialize the StreamObjectHeaderEnd8bit basic object from the specified byte array and start index.List<Byte>serializeToByteList()This method is used to convert the element of StreamObjectHeaderEnd8bit basic object into a byte List.bytetoByte()This method is used to get the byte value of the 8bit stream object header End.- 
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObjectdeserializeFromByteArray, parse
 
- 
 
- 
- 
- 
Constructor Detail- 
StreamObjectHeaderEnd8bitpublic StreamObjectHeaderEnd8bit(int type) throws TikaExceptionInitializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.- Parameters:
- type- Specify the integer value of the type.
- Throws:
- TikaException
 
 - 
StreamObjectHeaderEnd8bitpublic StreamObjectHeaderEnd8bit() Initializes a new instance of the StreamObjectHeaderEnd8bit class, this is the default constructor.
 - 
StreamObjectHeaderEnd8bitpublic StreamObjectHeaderEnd8bit(StreamObjectTypeHeaderEnd type) throws TikaException Initializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.- Parameters:
- type- Specify the value of the type.
- Throws:
- TikaException
 
 
- 
 - 
Method Detail- 
serializeToByteListpublic List<Byte> serializeToByteList() throws IOException This method is used to convert the element of StreamObjectHeaderEnd8bit basic object into a byte List.- Specified by:
- serializeToByteListin interface- IFSSHTTPBSerializable
- Specified by:
- serializeToByteListin class- BasicObject
- Returns:
- Return the byte list which store the byte information of StreamObjectHeaderEnd8bit.
- Throws:
- IOException
 
 - 
toBytepublic byte toByte() throws IOExceptionThis method is used to get the byte value of the 8bit stream object header End.- Returns:
- Return StreamObjectHeaderEnd8bit value represented by byte.
- Throws:
- IOException
 
 - 
doDeserializeFromByteArrayprotected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException, TikaExceptionThis method is used to deserialize the StreamObjectHeaderEnd8bit basic object from the specified byte array and start index.- Specified by:
- doDeserializeFromByteArrayin class- BasicObject
- Parameters:
- byteArray- Specify the byte array.
- startIndex- Specify the start index from the byte array.
- Returns:
- Return the length in byte of the StreamObjectHeaderEnd8bit basic object.
- Throws:
- IOException
- TikaException
 
 
- 
 
-