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, parse
public StreamObjectHeaderEnd8bit(int type) throws TikaException
type
- Specify the integer value of the type.TikaException
public StreamObjectHeaderEnd8bit()
public StreamObjectHeaderEnd8bit(StreamObjectTypeHeaderEnd type) throws TikaException
type
- Specify the value of the type.TikaException
public List<Byte> serializeToByteList() throws IOException
serializeToByteList
in interface IFSSHTTPBSerializable
serializeToByteList
in class BasicObject
IOException
public byte toByte() throws IOException
IOException
protected int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException, TikaException
doDeserializeFromByteArray
in class BasicObject
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.IOException
TikaException
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.