public class StreamObjectHeaderEnd8bit extends StreamObjectHeaderEnd
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
doDeserializeFromByteArray(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.
|
byte |
toByte()
This method is used to get the byte value of the 8bit stream object header End.
|
deserializeFromByteArray, parsepublic StreamObjectHeaderEnd8bit(int type)
throws TikaException
type - Specify the integer value of the type.TikaExceptionpublic StreamObjectHeaderEnd8bit()
public StreamObjectHeaderEnd8bit(StreamObjectTypeHeaderEnd type) throws TikaException
type - Specify the value of the type.TikaExceptionpublic List<Byte> serializeToByteList() throws IOException
serializeToByteList in interface IFSSHTTPBSerializableserializeToByteList in class BasicObjectIOExceptionpublic byte toByte()
throws IOException
IOExceptionprotected int doDeserializeFromByteArray(byte[] byteArray,
int startIndex)
throws IOException,
TikaException
doDeserializeFromByteArray in class BasicObjectbyteArray - Specify the byte array.startIndex - Specify the start index from the byte array.IOExceptionTikaExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.