Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: UnknownRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.UnknownRecord
Title: Unknown Record (for debugging)

Description: Unknown record just tells you the sid so you can figure out what records you are missing. Also helps us read/modify sheets we don't know all the records to. (HSSF leaves these alone!)

Copyright: Copyright (c) 2001

Company: SuperLink Software, Inc.

Field Summary
 int offset     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public UnknownRecord() 
 public UnknownRecord(short id,
    short size,
    byte[] data) 
Method from org.apache.cocoon.poi.hssf.record.UnknownRecord Summary:
fillFields,   fillFields,   getSid,   serialize,   toString,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.UnknownRecord Detail:
 protected  void fillFields(byte[] data,
    short sid) 
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
    called by the constructor, should set class level fields. Should throw runtime exception for bad/icomplete data.
 public short getSid() 
 public byte[] serialize() 
    spit the record out AS IS. no interperatation or identification
 public String toString() 
    print a sort of string representation ([UNKNOWN RECORD] id = x [/UNKNOWN RECORD])
 protected  void validateSid(short id) 
    NO OP!