public class StreamObjectHeaderEnd16bit extends StreamObjectHeaderEnd
| Constructor and Description |
|---|
StreamObjectHeaderEnd16bit()
Initializes a new instance of the StreamObjectHeaderEnd16bit class, this is the default constructor.
|
StreamObjectHeaderEnd16bit(int type)
Initializes a new instance of the StreamObjectHeaderEnd16bit class with the specified type value.
|
StreamObjectHeaderEnd16bit(StreamObjectTypeHeaderEnd headerType)
Initializes a new instance of the StreamObjectHeaderEnd16bit 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 StreamObjectHeaderEnd16bit basic object from the
specified byte array and start index.
|
List<Byte> |
serializeToByteList()
This method is used to convert the element of StreamObjectHeaderEnd16bit basic object into a byte List.
|
short |
toUint16()
This method is used to get the byte value of the 16-bit stream object header End.
|
deserializeFromByteArray, parsepublic StreamObjectHeaderEnd16bit(int type)
throws TikaException
type - Specify the integer value of the type.TikaExceptionpublic StreamObjectHeaderEnd16bit(StreamObjectTypeHeaderEnd headerType)
headerType - Specify the value of the type.public StreamObjectHeaderEnd16bit()
public List<Byte> serializeToByteList() throws IOException
serializeToByteList in interface IFSSHTTPBSerializableserializeToByteList in class BasicObjectIOExceptionpublic short toUint16()
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.