|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ddf.DefaultEscherRecordFactory
public class DefaultEscherRecordFactory
Generates escher records when provided the byte array containing those records.
EscherRecordFactory| Constructor Summary | |
|---|---|
DefaultEscherRecordFactory()
Creates an instance of the escher record factory |
|
| Method Summary | |
|---|---|
EscherRecord |
createRecord(byte[] data,
int offset)
Generates an escher record including any children contained under that record. |
static boolean |
isContainer(short options,
short recordId)
|
protected static java.util.Map<java.lang.Short,java.lang.reflect.Constructor<? extends EscherRecord>> |
recordsToMap(java.lang.Class<?>[] recClasses)
Converts from a list of classes into a map that contains the record id as the key and the Constructor in the value part of the map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEscherRecordFactory()
| Method Detail |
|---|
public EscherRecord createRecord(byte[] data,
int offset)
EscherRecordFactory
createRecord in interface EscherRecordFactorydata - The byte array containing the recordsoffset - The starting offset into the byte array
protected static java.util.Map<java.lang.Short,java.lang.reflect.Constructor<? extends EscherRecord>> recordsToMap(java.lang.Class<?>[] recClasses)
recClasses - The records to convert
public static boolean isContainer(short options,
short recordId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||