Package org.yamcs.xtce.xlsv7
Class V7LoaderBase
- java.lang.Object
-
- org.yamcs.xtce.AbstractFileLoader
-
- org.yamcs.xtce.BaseSpreadsheetLoader
-
- org.yamcs.xtce.xlsv7.V7LoaderBase
-
- All Implemented Interfaces:
SpaceSystemLoader
- Direct Known Subclasses:
V7Loader
public abstract class V7LoaderBase extends BaseSpreadsheetLoader
static fields and methods to reduce the size of the SpreadsheetLoader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.yamcs.xtce.BaseSpreadsheetLoader
BaseSpreadsheetLoader.BasicPrefFactory, BaseSpreadsheetLoader.EnumerationDefinition, BaseSpreadsheetLoader.Range
-
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.BaseSpreadsheetLoader
CN_CALIB_CALIB1, CN_CALIB_CALIB2, CN_CALIB_DESCRIPTION, CN_CALIB_NAME, CN_CALIB_TYPE, CN_CONTEXT, ctx, enableXtceNameRestrictions, h, headers, PARAM_ENGTYPE_BINARY, PARAM_ENGTYPE_BOOLEAN, PARAM_ENGTYPE_DOUBLE, PARAM_ENGTYPE_ENUMERATED, PARAM_ENGTYPE_FLOAT, PARAM_ENGTYPE_INT32, PARAM_ENGTYPE_INT64, PARAM_ENGTYPE_STRING, PARAM_ENGTYPE_TIME, PARAM_ENGTYPE_UINT32, PARAM_ENGTYPE_UINT64, PARAM_RAWTYPE_BINARY, PARAM_RAWTYPE_BINARY_PREPENDED, PARAM_RAWTYPE_BINARY_TERMINATED, PARAM_RAWTYPE_BOOLEAN, PARAM_RAWTYPE_DOUBLE, PARAM_RAWTYPE_FLOAT, PARAM_RAWTYPE_INT, PARAM_RAWTYPE_STRING, PARAM_RAWTYPE_UINT, SHEET_ALARMS, SHEET_ALGORITHMS, SHEET_CALIBRATION, SHEET_CHANGELOG, SHEET_COMMANDOPTIONS, SHEET_COMMANDS, SHEET_COMMANDVERIFICATION, SHEET_CONTAINERS, SHEET_DERIVED_PARAMETERS, SHEET_GENERAL, SHEET_LOCAL_PARAMETERS, SHEET_TELEMETERED_PARAMETERS, workbook
-
Fields inherited from class org.yamcs.xtce.AbstractFileLoader
configName, log, path
-
-
Constructor Summary
Constructors Constructor Description V7LoaderBase(String filename)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.yamcs.xtce.xlsv7.V7LoaderBase.RawTypeEncoding
oldToNewEncoding(SpreadsheetLoadContext ctx, int bitsize, String rawtype)
protected List<org.yamcs.xtce.xlsv7.V7LoaderBase.AggrMember>
parseAggregateExpr(String engType)
parses strings of typestatic Map<String,Map<String,Integer>>
readHeaders(jxl.Workbook workbook)
-
Methods inherited from class org.yamcs.xtce.BaseSpreadsheetLoader
findRange, getCell, getContent, getContent, getParameterReference, hasColumn, hasColumn, isCellEmpty, isEmptyOrCommentedOut, isRowEmpty, jumpToRow, loadWorkbook, parseByte, parseDouble, parseDouble, parseInt, parseInt, switchToSheet, validateNameType
-
Methods inherited from class org.yamcs.xtce.AbstractFileLoader
getConfigName, needsUpdate, writeConsistencyDate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.xtce.SpaceSystemLoader
load, loadList
-
-
-
-
Field Detail
-
CN_CMD_NAME
protected static final String CN_CMD_NAME
- See Also:
- Constant Field Values
-
CN_CMD_PARENT
protected static final String CN_CMD_PARENT
- See Also:
- Constant Field Values
-
CN_CMD_ARG_ASSIGNMENT
protected static final String CN_CMD_ARG_ASSIGNMENT
- See Also:
- Constant Field Values
-
CN_CMD_FLAGS
protected static final String CN_CMD_FLAGS
- See Also:
- Constant Field Values
-
CN_CMD_ARGNAME
protected static final String CN_CMD_ARGNAME
- See Also:
- Constant Field Values
-
CN_CMD_POSITION
protected static final String CN_CMD_POSITION
- See Also:
- Constant Field Values
-
CN_CMD_DTYPE
protected static final String CN_CMD_DTYPE
- See Also:
- Constant Field Values
-
CN_CMD_DEFVALUE
protected static final String CN_CMD_DEFVALUE
- See Also:
- Constant Field Values
-
CN_CMD_RANGELOW
protected static final String CN_CMD_RANGELOW
- See Also:
- Constant Field Values
-
CN_CMD_RANGEHIGH
protected static final String CN_CMD_RANGEHIGH
- See Also:
- Constant Field Values
-
CN_CMD_DESCRIPTION
protected static final String CN_CMD_DESCRIPTION
- See Also:
- Constant Field Values
-
IDX_CMDOPT_NAME
protected static final int IDX_CMDOPT_NAME
- See Also:
- Constant Field Values
-
IDX_CMDOPT_TXCONST
protected static final int IDX_CMDOPT_TXCONST
- See Also:
- Constant Field Values
-
IDX_CMDOPT_TXCONST_TIMEOUT
protected static final int IDX_CMDOPT_TXCONST_TIMEOUT
- See Also:
- Constant Field Values
-
IDX_CMDOPT_SIGNIFICANCE
protected static final int IDX_CMDOPT_SIGNIFICANCE
- See Also:
- Constant Field Values
-
IDX_CMDOPT_SIGNIFICANCE_REASON
protected static final int IDX_CMDOPT_SIGNIFICANCE_REASON
- See Also:
- Constant Field Values
-
CN_CMDVERIF_NAME
protected static final String CN_CMDVERIF_NAME
- See Also:
- Constant Field Values
-
CN_CMDVERIF_STAGE
protected static final String CN_CMDVERIF_STAGE
- See Also:
- Constant Field Values
-
CN_CMDVERIF_TYPE
protected static final String CN_CMDVERIF_TYPE
- See Also:
- Constant Field Values
-
CN_CMDVERIF_TEXT
protected static final String CN_CMDVERIF_TEXT
- See Also:
- Constant Field Values
-
CN_CMDVERIF_CHECKWINDOW
protected static final String CN_CMDVERIF_CHECKWINDOW
- See Also:
- Constant Field Values
-
CN_CMDVERIF_CHECKWINDOW_RELATIVETO
protected static final String CN_CMDVERIF_CHECKWINDOW_RELATIVETO
- See Also:
- Constant Field Values
-
CN_CMDVERIF_ONSUCCESS
protected static final String CN_CMDVERIF_ONSUCCESS
- See Also:
- Constant Field Values
-
CN_CMDVERIF_ONFAIL
protected static final String CN_CMDVERIF_ONFAIL
- See Also:
- Constant Field Values
-
CN_CMDVERIF_ONTIMEOUT
protected static final String CN_CMDVERIF_ONTIMEOUT
- See Also:
- Constant Field Values
-
IDX_LOG_VERSION
protected static final int IDX_LOG_VERSION
- See Also:
- Constant Field Values
-
IDX_LOG_DATE
protected static final int IDX_LOG_DATE
- See Also:
- Constant Field Values
-
IDX_LOG_MESSAGE
protected static final int IDX_LOG_MESSAGE
- See Also:
- Constant Field Values
-
IDX_LOG_AUTHOR
protected static final int IDX_LOG_AUTHOR
- See Also:
- Constant Field Values
-
CALIB_TYPE_ENUMERATION
protected static final String CALIB_TYPE_ENUMERATION
- See Also:
- Constant Field Values
-
CALIB_TYPE_POLYNOMIAL
protected static final String CALIB_TYPE_POLYNOMIAL
- See Also:
- Constant Field Values
-
CALIB_TYPE_SPLINE
protected static final String CALIB_TYPE_SPLINE
- See Also:
- Constant Field Values
-
CALIB_TYPE_JAVA_EXPRESSION
protected static final String CALIB_TYPE_JAVA_EXPRESSION
- See Also:
- Constant Field Values
-
CALIB_TYPE_TIME
protected static final String CALIB_TYPE_TIME
- See Also:
- Constant Field Values
-
PARAM_RAWTYPE_STRING_PREPENDED
protected static final String PARAM_RAWTYPE_STRING_PREPENDED
- See Also:
- Constant Field Values
-
PARAM_RAWTYPE_STRING_TERMINATED
protected static final String PARAM_RAWTYPE_STRING_TERMINATED
- See Also:
- Constant Field Values
-
PARAM_RAWTYPE_STRING_FIXED
protected static final String PARAM_RAWTYPE_STRING_FIXED
- See Also:
- Constant Field Values
-
SHEET_DATATYPES
protected static final String SHEET_DATATYPES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
V7LoaderBase
public V7LoaderBase(String filename)
-
-
Method Detail
-
oldToNewEncoding
public static org.yamcs.xtce.xlsv7.V7LoaderBase.RawTypeEncoding oldToNewEncoding(SpreadsheetLoadContext ctx, int bitsize, String rawtype)
-
-