Class AbstractXlsQueryExecuterFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
-
- net.sf.jasperreports.engine.query.AbstractXlsQueryExecuterFactory
-
- All Implemented Interfaces:
JRQueryExecuterFactory,QueryExecuterFactory,Designated
- Direct Known Subclasses:
ExcelQueryExecuterFactory,JRXlsxQueryExecuterFactory,XlsQueryExecuterFactory
public abstract class AbstractXlsQueryExecuterFactory extends AbstractQueryExecuterFactory implements Designated
Query executer factory for Excel file type.- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringQUERY_EXECUTER_NAMEstatic java.lang.StringXLS_COLUMN_INDEXESBuilt-in parameter/property holding the value of the column indexes to be extracted from the Excel source.static java.lang.StringXLS_COLUMN_INDEXES_ARRAYBuilt-in parameter holding the value of the column indexes to be extracted from the Excel source, as ajava.lang.Integer[]object.static java.lang.StringXLS_COLUMN_NAMESBuilt-in parameter/property holding the value of the columns to be extracted from the Excel source.static java.lang.StringXLS_COLUMN_NAMES_ARRAYBuilt-in parameter holding the value of the columns to be extracted from the Excel source, as ajava.lang.String[]object.static java.lang.StringXLS_DATE_FORMATBuilt-in parameter holding the value of thejava.text.DateFormatused to format date columns from the Excel source.static java.lang.StringXLS_DATE_PATTERNBuilt-in parameter/property holding the value of the date format pattern to be used when parsing the Excel data.static java.lang.StringXLS_FILEBuilt-in parameter holding the value of thejava.io.Fileto be used for obtaining the Excel data.static java.lang.StringXLS_INPUT_STREAMBuilt-in parameter holding the value of thejava.io.InputStreamto be used for obtaining the Excel data.static java.lang.StringXLS_LOCALEBuilt-in parameter holding thejava.util.Localevalue of the locale to be used when parsing the Excel data.static java.lang.StringXLS_LOCALE_CODEBuilt-in parameter/property holding thejava.lang.Stringcode of the locale to be used when parsing the Excel data.static java.lang.StringXLS_NUMBER_FORMATBuilt-in parameter holding the value of thejava.text.NumberFormatused to format numeric columns from the Excel source.static java.lang.StringXLS_NUMBER_PATTERNBuilt-in parameter/property holding the value of the number format pattern to be used when parsing the Excel data.static java.lang.StringXLS_SHEET_SELECTIONBuilt-in parameter/property holding the value of the sheet name to be used when parsing the Excel data.static java.lang.StringXLS_SOURCEBuilt-in parameter/property holding the value of thejava.lang.Stringsource to be used for obtaining the Excel data.static java.lang.StringXLS_TIMEZONEBuilt-in parameter holding thejava.util.TimeZonevalue of the timezone to be used when parsing the Excel data.static java.lang.StringXLS_TIMEZONE_IDBuilt-in parameter/property holding thejava.lang.Stringvalue of the time zone id to be used when parsing the Excel data.static java.lang.StringXLS_USE_FIRST_ROW_AS_HEADERBuilt-in parameter/property specifying whether or not the column names should be obtained from the first row in the Excel source.static java.lang.StringXLS_WORKBOOKBuilt-in parameter holding the value of theWorkbookto be used for obtaining the Excel data.-
Fields inherited from interface net.sf.jasperreports.engine.query.QueryExecuterFactory
QUERY_EXECUTER_FACTORY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractXlsQueryExecuterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDesignation()-
Methods inherited from class net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
createQueryExecuter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.query.QueryExecuterFactory
createQueryExecuter, createQueryExecuter, getBuiltinParameters, supportsQueryParameterType
-
-
-
-
Field Detail
-
QUERY_EXECUTER_NAME
public static final java.lang.String QUERY_EXECUTER_NAME
- See Also:
- Constant Field Values
-
XLS_WORKBOOK
public static final java.lang.String XLS_WORKBOOK
Built-in parameter holding the value of theWorkbookto be used for obtaining the Excel data.- See Also:
- Constant Field Values
-
XLS_INPUT_STREAM
public static final java.lang.String XLS_INPUT_STREAM
Built-in parameter holding the value of thejava.io.InputStreamto be used for obtaining the Excel data.- See Also:
- Constant Field Values
-
XLS_FILE
public static final java.lang.String XLS_FILE
Built-in parameter holding the value of thejava.io.Fileto be used for obtaining the Excel data.- See Also:
- Constant Field Values
-
XLS_SOURCE
public static final java.lang.String XLS_SOURCE
Built-in parameter/property holding the value of thejava.lang.Stringsource to be used for obtaining the Excel data.- See Also:
- Constant Field Values
-
XLS_COLUMN_NAMES
public static final java.lang.String XLS_COLUMN_NAMES
Built-in parameter/property holding the value of the columns to be extracted from the Excel source. When used as report parameter, the value has to be ajava.lang.Stringobject containing column names separated by commas. It can also be used as the prefix for custom dataset properties specifying the names of the Excel columns in the format:net.sf.jasperreports.xls.column.names.{arbitrary_name}=value1[, value2, ...]- See Also:
- Constant Field Values
-
XLS_COLUMN_INDEXES
public static final java.lang.String XLS_COLUMN_INDEXES
Built-in parameter/property holding the value of the column indexes to be extracted from the Excel source. When used as report parameter, the value has to be ajava.lang.Stringobject containing column indexes separated by comma. It can also be used as the prefix for custom dataset properties specifying the names of the Excel column indexes in the format:net.sf.jasperreports.xls.column.indexes.{arbitrary_name}=value1[, value2, ...]- See Also:
- Constant Field Values
-
XLS_COLUMN_NAMES_ARRAY
public static final java.lang.String XLS_COLUMN_NAMES_ARRAY
Built-in parameter holding the value of the columns to be extracted from the Excel source, as ajava.lang.String[]object. When this parameter is null or missing, its value defaults to the values provided by properties prefixed withXLS_COLUMN_NAMES.- See Also:
- Constant Field Values
-
XLS_COLUMN_INDEXES_ARRAY
public static final java.lang.String XLS_COLUMN_INDEXES_ARRAY
Built-in parameter holding the value of the column indexes to be extracted from the Excel source, as ajava.lang.Integer[]object. When this parameter is null or missing, its value defaults to the values provided by properties prefixed withXLS_COLUMN_INDEXES.- See Also:
- Constant Field Values
-
XLS_LOCALE
public static final java.lang.String XLS_LOCALE
Built-in parameter holding thejava.util.Localevalue of the locale to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_LOCALE_CODE
public static final java.lang.String XLS_LOCALE_CODE
Built-in parameter/property holding thejava.lang.Stringcode of the locale to be used when parsing the Excel data. The allowed format is: language[_country[_variant]]- See Also:
- Constant Field Values
-
XLS_TIMEZONE
public static final java.lang.String XLS_TIMEZONE
Built-in parameter holding thejava.util.TimeZonevalue of the timezone to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_TIMEZONE_ID
public static final java.lang.String XLS_TIMEZONE_ID
Built-in parameter/property holding thejava.lang.Stringvalue of the time zone id to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_DATE_FORMAT
public static final java.lang.String XLS_DATE_FORMAT
Built-in parameter holding the value of thejava.text.DateFormatused to format date columns from the Excel source.- See Also:
- Constant Field Values
-
XLS_DATE_PATTERN
public static final java.lang.String XLS_DATE_PATTERN
Built-in parameter/property holding the value of the date format pattern to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_NUMBER_FORMAT
public static final java.lang.String XLS_NUMBER_FORMAT
Built-in parameter holding the value of thejava.text.NumberFormatused to format numeric columns from the Excel source.- See Also:
- Constant Field Values
-
XLS_NUMBER_PATTERN
public static final java.lang.String XLS_NUMBER_PATTERN
Built-in parameter/property holding the value of the number format pattern to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_SHEET_SELECTION
public static final java.lang.String XLS_SHEET_SELECTION
Built-in parameter/property holding the value of the sheet name to be used when parsing the Excel data.- See Also:
- Constant Field Values
-
XLS_USE_FIRST_ROW_AS_HEADER
public static final java.lang.String XLS_USE_FIRST_ROW_AS_HEADER
Built-in parameter/property specifying whether or not the column names should be obtained from the first row in the Excel source. As parameter, it should hold ajava.lang.Booleanvalue, while as custom dataset property, it should be true or false. If this parameter is set to true, then setting theXLS_COLUMN_NAMESorXLS_COLUMN_NAMES_ARRAYwould have no effect.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDesignation
public java.lang.String getDesignation()
- Specified by:
getDesignationin interfaceDesignated
-
-