| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherBlipRecord org.apache.poi.ddf.EscherBitmapBlip
EscherBitmapBlip | public class EscherBitmapBlip extends EscherBlipRecord (Code) | | author: Glen Stampoultzis version: $Id: EscherBitmapBlip.java 569827 2007-08-26 15:26:29Z yegor $ |
Method Summary | |
public int | fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. | public byte | getMarker() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public byte[] | getUID() | public int | serialize(int offset, byte[] data, EscherSerializationListener listener) Serializes the record to an existing byte array.
Parameters: offset - the offset within the byte array Parameters: data - the data array to serialize to Parameters: listener - a listener for begin and end serialization events. | public void | setMarker(byte field_2_marker) | public void | setUID(byte[] field_1_UID) | public String | toString() |
RECORD_ID_DIB | final public static short RECORD_ID_DIB(Code) | | |
RECORD_ID_JPEG | final public static short RECORD_ID_JPEG(Code) | | |
RECORD_ID_PNG | final public static short RECORD_ID_PNG(Code) | | |
fillFields | public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory)(Code) | | This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. The number of bytes read from the byte array. |
getMarker | public byte getMarker()(Code) | | |
getRecordSize | public int getRecordSize()(Code) | | Returns the number of bytes that are required to serialize this record.
Number of bytes |
getUID | public byte[] getUID()(Code) | | |
serialize | public int serialize(int offset, byte[] data, EscherSerializationListener listener)(Code) | | Serializes the record to an existing byte array.
Parameters: offset - the offset within the byte array Parameters: data - the data array to serialize to Parameters: listener - a listener for begin and end serialization events. Thisis useful because the serialization ishierarchical/recursive and sometimes you need to be ablebreak into that. the number of bytes written. |
setMarker | public void setMarker(byte field_2_marker)(Code) | | |
setUID | public void setUID(byte[] field_1_UID)(Code) | | |
|
|