|
||||||||||
| 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.conversion.AbstractConversion
adams.data.conversion.AbstractSpreadSheetConversion
adams.data.conversion.ConvertSpreadSheetRows
public class ConvertSpreadSheetRows
Converts the rows in the spreadsheet into a new format.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-data-row-type <DENSE|SPARSE> (property: dataRowType) The type of row to use for the data. default: DENSE
| Field Summary | |
|---|---|
protected DataRowType |
m_DataRowType
the data row type to use. |
| Fields inherited from class adams.data.conversion.AbstractConversion |
|---|
m_Input, m_Output, m_Owner, m_Stopped |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
ConvertSpreadSheetRows()
|
|
| Method Summary | |
|---|---|
protected SpreadSheet |
convert(SpreadSheet input)
Generates the new spreadsheet from the input. |
String |
dataRowTypeTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
DataRowType |
getDataRowType()
Returns the type of data row to use. |
String |
globalInfo()
Returns a string describing the object. |
void |
setDataRowType(DataRowType value)
Sets the type of data row to use. |
| Methods inherited from class adams.data.conversion.AbstractSpreadSheetConversion |
|---|
accepts, doConvert, generates |
| Methods inherited from class adams.data.conversion.AbstractConversion |
|---|
checkData, cleanUp, convert, getInput, getOutput, getOwner, getQuickInfo, reset, setInput, setOwner, shallowCopy, shallowCopy, stopExecution |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, 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 DataRowType m_DataRowType
| Constructor Detail |
|---|
public ConvertSpreadSheetRows()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setDataRowType(DataRowType value)
value - the typepublic DataRowType getDataRowType()
public String dataRowTypeTipText()
protected SpreadSheet convert(SpreadSheet input)
throws Exception
convert in class AbstractSpreadSheetConversioninput - the incoming spreadsheet
Exception - if conversion fails for some reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||