Package ch.astorm.jotlmsg.io
Class FlatEntryStructure
- java.lang.Object
-
- ch.astorm.jotlmsg.io.FlatEntryStructure
-
- Direct Known Subclasses:
OneOffEntryIDStructure
public class FlatEntryStructure extends Object
Represents an [MS-OXCDATA] 2.3.2 FlatEntry Structure in Java.- Author:
- Guido Stein
-
-
Constructor Summary
Constructors Constructor Description FlatEntryStructure()Default constructorFlatEntryStructure(ByteBuffer bf)Constructor for byte parsing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEntryID()Returns the EntryID bytes.longgetSize()Returns the number of bytes of following EntryID field.voidsetEntryID(byte[] entryID)Sets the EntryID bytes.
-
-
-
Constructor Detail
-
FlatEntryStructure
public FlatEntryStructure()
Default constructor
-
FlatEntryStructure
public FlatEntryStructure(ByteBuffer bf)
Constructor for byte parsing.- Parameters:
bf-ByteBuffersource for parsing.
-
-
Method Detail
-
getSize
public long getSize()
Returns the number of bytes of following EntryID field.- Returns:
- Number of bytes.
-
getEntryID
public byte[] getEntryID()
Returns the EntryID bytes.- Returns:
- Byte array representation of EntryID.
-
setEntryID
public void setEntryID(byte[] entryID)
Sets the EntryID bytes.- Parameters:
entryID- Byte array data to set.
-
-