| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private byte[] | |
| private static final int | |
| private static int | |
| public static final short | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherBlipRecord | copy()
Implements abstract org. Implements org.
|
| public int | fillFields(byte[]
The byte array containing the serialized escher
records. data, int The offset into the byte array. offset, EscherRecordFactory A factory for creating new escher records. recordFactory)Implements abstract org. The contract of this method is to deserialize an escher record including its children. |
| public Map | |
| public Enum | |
| public static int | |
| public byte[] | |
| public String | getRecordName()
Implements abstract org. Subclasses should return the short name for this escher record. |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public int | serialize(int
the offset within the byte array offset, byte[] the data array to serialize to data, EscherSerializationListener a listener for begin and end serialization events. This
is useful because the serialization is
hierarchical/recursive and sometimes you need to be able
break into that. listener)Implements abstract org. Serializes the record to an existing byte array. |
| public static void | |
| public void | |
| public void | setPictureData(byte[]
the picture data pictureData, int the offset into the picture data offset, int the amount of bytes to be used length)Sets the picture data bytes |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH | |
| field_pictureData | back to summary |
|---|---|
| private byte[] field_pictureData | |
| HEADER_SIZE | back to summary |
|---|---|
| private static final int HEADER_SIZE | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| RECORD_ID_END | back to summary |
|---|---|
| public static final short RECORD_ID_END | |
| RECORD_ID_START | back to summary |
|---|---|
| public static final short RECORD_ID_START | |
| EscherBlipRecord | back to summary |
|---|---|
| public EscherBlipRecord() | |
| EscherBlipRecord | back to summary |
|---|---|
| public EscherBlipRecord(EscherBlipRecord other) | |
| copy | back to summary |
|---|---|
| public EscherBlipRecord copy() Implements abstract org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Implements abstract org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getMaxRecordLength | back to summary |
|---|---|
public static int getMaxRecordLength()
| |
| getPicturedata | back to summary |
|---|---|
| public byte[] getPicturedata() Gets the picture data bytes
| |
| getRecordName | back to summary |
|---|---|
| public String getRecordName() Implements abstract org. Doc from org. Subclasses should return the short name for this escher record. | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Implements abstract org. Doc from org. Serializes the record to an existing byte array.
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |
| setPictureData | back to summary |
|---|---|
| public void setPictureData(byte[] pictureData) Sets the picture data bytes
| |
| setPictureData | back to summary |
|---|---|
| public void setPictureData(byte[] pictureData, int offset, int length) Sets the picture data bytes
| |