|
||||||||||
| 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.input.AbstractSpreadSheetReader
adams.data.io.input.AbstractSpreadSheetReaderWithMissingValueSupport
adams.data.io.input.AbstractExcelSpreadSheetReader
public abstract class AbstractExcelSpreadSheetReader
Ancestor for special Excel readers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class adams.data.io.input.AbstractSpreadSheetReader |
|---|
adams.data.io.input.AbstractSpreadSheetReader.InputType |
| Field Summary | |
|---|---|
protected boolean |
m_AutoExtendHeader
whether to automatically extend the header if rows have more cells than header. |
protected adams.core.Index |
m_SheetIndex
the sheet to load. |
protected adams.core.Range |
m_TextColumns
the range of columns to force to be text. |
| Fields inherited from class adams.data.io.input.AbstractSpreadSheetReaderWithMissingValueSupport |
|---|
m_MissingValue |
| Fields inherited from class adams.data.io.input.AbstractSpreadSheetReader |
|---|
m_DataRowType, m_Stopped |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractExcelSpreadSheetReader()
|
|
| Method Summary | |
|---|---|
String |
autoExtendHeaderTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
boolean |
getAutoExtendHeader()
Returns whether to extend the header if rows have more cells than the header. |
adams.core.Index |
getSheetIndex()
Returns the index of the sheet to load. |
String |
getTextColumns()
Returns the range of columns to treat as text. |
protected void |
initialize()
Initializes the members. |
void |
setAutoExtendHeader(boolean value)
Sets whether to extend the header if rows have more cells than the header. |
void |
setSheetIndex(adams.core.Index value)
Sets the index of the sheet to load. |
void |
setTextColumns(String value)
Sets the range of columns to treat as text. |
String |
sheetIndexTipText()
Returns the tip text for this property. |
String |
textColumnsTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.data.io.input.AbstractSpreadSheetReaderWithMissingValueSupport |
|---|
getMissingValue, missingValueTipText, setMissingValue |
| Methods inherited from class adams.data.io.input.AbstractSpreadSheetReader |
|---|
dataRowTypeTipText, doRead, doRead, doRead, getDataRowType, getFormatDescription, getFormatExtensions, getInputType, getReaders, read, read, read, read, setDataRowType, stopExecution |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, 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 |
| Field Detail |
|---|
protected adams.core.Index m_SheetIndex
protected boolean m_AutoExtendHeader
protected adams.core.Range m_TextColumns
| Constructor Detail |
|---|
public AbstractExcelSpreadSheetReader()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface adams.core.option.OptionHandlerdefineOptions in class adams.data.io.input.AbstractSpreadSheetReaderWithMissingValueSupportprotected void initialize()
initialize in class adams.core.option.AbstractOptionHandlerpublic void setSheetIndex(adams.core.Index value)
value - the index (1-based)public adams.core.Index getSheetIndex()
public String sheetIndexTipText()
public void setAutoExtendHeader(boolean value)
value - if true then the header gets extended if necessarypublic boolean getAutoExtendHeader()
public String autoExtendHeaderTipText()
public void setTextColumns(String value)
value - the range of columnspublic String getTextColumns()
public String textColumnsTipText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||