|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.write.biff.File
A file of excel data to be written out. All the excel data is held in memory, and when the close method is called a CompoundFile object is used to write the Biff oriented excel data in the CompoundFile format
Field Summary | |
private int |
arrayGrowSize
The amount to increase the growable array by |
private byte[] |
data
The data from the excel 97 file |
private int |
initialFileSize
The initial file size |
private java.io.OutputStream |
outputStream
The output stream |
private int |
pos
The current position within the file |
private WorkbookSettings |
workbookSettings
The workbook settings |
Constructor Summary | |
(package private) |
File(java.io.OutputStream os,
WorkbookSettings ws)
Constructor |
Method Summary | |
(package private) void |
close(boolean cs)
Closes the file. |
(package private) int |
getPos()
Gets the current position within the file |
(package private) void |
setData(byte[] newdata,
int pos)
Used to manually alter the contents of the written out data. |
void |
write(ByteData record)
Adds the biff record data to the memory allocated for this File |
Methods inherited from class java.lang.Object |
|
Field Detail |
private byte[] data
private int pos
private java.io.OutputStream outputStream
private int initialFileSize
private int arrayGrowSize
private WorkbookSettings workbookSettings
Constructor Detail |
File(java.io.OutputStream os, WorkbookSettings ws)
os
- the output streamws
- the configuration settings for this workbookMethod Detail |
void close(boolean cs) throws java.io.IOException
cs
- TRUE if this should close the stream, FALSE if the application
closes itjava.io.IOException
- public void write(ByteData record) throws java.io.IOException
record
- the record to add to the excel datajava.io.IOException
- int getPos()
void setData(byte[] newdata, int pos)
pos
- the position to alternewdata
- the data to modify
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |