|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.io.output.AbstractSpreadSheetWriter
adams.data.io.output.AbstractMultiSheetSpreadSheetWriter
public abstract class AbstractMultiSheetSpreadSheetWriter
Ancestor for spreadsheet writers that can write multiple sheets into a single document.
| Field Summary | |
|---|---|
protected String |
m_SheetPrefix
The prefix for the sheet names. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractMultiSheetSpreadSheetWriter()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
protected boolean |
doWrite(SpreadSheet[] content,
OutputStream out)
Performs the actual writing. |
protected boolean |
doWrite(SpreadSheet[] content,
Writer writer)
Performs the actual writing. |
protected boolean |
doWrite(SpreadSheet content,
OutputStream out)
Performs the actual writing. |
protected boolean |
doWrite(SpreadSheet content,
Writer writer)
Performs the actual writing. |
protected String |
getDefaultSheetPrefix()
Returns the default missing value. |
String |
getSheetPrefix()
Returns the prefix for sheet names |
void |
setSheetPrefix(String value)
Sets the prefix for sheet names. |
String |
sheetPrefixTipText()
Returns the tip text for this property. |
boolean |
write(SpreadSheet[] content,
File file)
Writes the spreadsheets to the specified file. |
boolean |
write(SpreadSheet[] content,
OutputStream stream)
Writes the spreadsheets to the given output stream. |
boolean |
write(SpreadSheet[] content,
String filename)
Writes the spreadsheets to the given file. |
boolean |
write(SpreadSheet[] content,
Writer writer)
Writes the spreadsheets to the given writer. |
| Methods inherited from class adams.data.io.output.AbstractSpreadSheetWriter |
|---|
getFormatDescription, getFormatExtensions, getUseOutputStream, getWriters, write, write, write, write |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface adams.data.io.output.SpreadSheetWriter |
|---|
getFormatDescription, getFormatExtensions, write, write, write, write |
| Methods inherited from interface adams.core.option.OptionHandler |
|---|
cleanUpOptions, getOptionManager |
| Methods inherited from interface adams.core.Destroyable |
|---|
destroy |
| Field Detail |
|---|
protected String m_SheetPrefix
| Constructor Detail |
|---|
public AbstractMultiSheetSpreadSheetWriter()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerprotected String getDefaultSheetPrefix()
public void setSheetPrefix(String value)
value - the prefixpublic String getSheetPrefix()
public String sheetPrefixTipText()
protected boolean doWrite(SpreadSheet content,
Writer writer)
doWrite in class AbstractSpreadSheetWritercontent - the spreadsheet to writewriter - the writer to write the spreadsheet to
protected boolean doWrite(SpreadSheet content,
OutputStream out)
doWrite in class AbstractSpreadSheetWritercontent - the spreadsheet to writeout - the output stream to write the spreadsheet to
protected boolean doWrite(SpreadSheet[] content,
Writer writer)
content - the spreadsheet to writewriter - the writer to write the spreadsheet to
protected boolean doWrite(SpreadSheet[] content,
OutputStream out)
content - the spreadsheet to writeout - the output stream to write the spreadsheet to
public boolean write(SpreadSheet[] content,
File file)
write in interface MultiSheetSpreadSheetWritercontent - the content to writefile - the file to write to
public boolean write(SpreadSheet[] content,
String filename)
write in interface MultiSheetSpreadSheetWritercontent - the spreadsheet to writefilename - the file to write the spreadsheet to
public boolean write(SpreadSheet[] content,
OutputStream stream)
write in interface MultiSheetSpreadSheetWritercontent - the spreadsheet to writestream - the output stream to write the spreadsheet to
public boolean write(SpreadSheet[] content,
Writer writer)
write in interface MultiSheetSpreadSheetWritercontent - the spreadsheet to writewriter - the writer to write the spreadsheet to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||