|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.RecordFactory
public final class RecordFactory
Title: Record Factory
Description: Takes a stream and outputs an array of Record objects.
EventRecordFactory
Constructor Summary | |
---|---|
RecordFactory()
|
Method Summary | |
---|---|
static BlankRecord[] |
convertBlankRecords(MulBlankRecord mbk)
Converts a MulBlankRecord into an equivalent array of BlankRecord s |
static NumberRecord[] |
convertRKRecords(MulRKRecord mrk)
Converts a MulRKRecord into an equivalent array of NumberRecord s |
static NumberRecord |
convertToNumberRecord(RKRecord rk)
RK record is a slightly smaller alternative to NumberRecord POI likes NumberRecord better |
static Record[] |
createRecord(RecordInputStream in)
create a record, if there are MUL records than multiple records are returned digested into the non-mul form. |
static java.util.List<Record> |
createRecords(java.io.InputStream in)
Create an array of records from an input stream |
static Record |
createSingleRecord(RecordInputStream in)
|
static short[] |
getAllKnownRecordSIDs()
|
static java.lang.Class<? extends Record> |
getRecordClass(int sid)
Debug / diagnosis method Gets the POI implementation class for a given sid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordFactory()
Method Detail |
---|
public static java.lang.Class<? extends Record> getRecordClass(int sid)
UnknownRecord.getBiffName(int)
).
null
if the specified record is not interpreted by POI.public static Record[] createRecord(RecordInputStream in)
public static Record createSingleRecord(RecordInputStream in)
public static NumberRecord convertToNumberRecord(RKRecord rk)
public static NumberRecord[] convertRKRecords(MulRKRecord mrk)
MulRKRecord
into an equivalent array of NumberRecord
s
public static BlankRecord[] convertBlankRecords(MulBlankRecord mbk)
MulBlankRecord
into an equivalent array of BlankRecord
s
public static short[] getAllKnownRecordSIDs()
public static java.util.List<Record> createRecords(java.io.InputStream in) throws RecordFormatException
in
- the InputStream from which the records will be obtained
RecordFormatException
- on error processing the InputStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |