Class DataExtractionOption
java.lang.Object
org.eclipse.birt.report.engine.api.TaskOption
org.eclipse.birt.report.engine.api.DataExtractionOption
- All Implemented Interfaces:
IDataExtractionOption,IExtractionOption,ITaskOption
-
Field Summary
Fields inherited from class org.eclipse.birt.report.engine.api.TaskOption
optionsFields inherited from interface org.eclipse.birt.report.engine.api.IDataExtractionOption
ACTION_HANDLER, EXTENSION, IMAGE_HANDLER, INSTANCE_ID, LOCALEFields inherited from interface org.eclipse.birt.report.engine.api.IExtractionOption
OPTION_FORMATTER, OUTPUT_FILE_NAME, OUTPUT_FORMAT, OUTPUT_STREAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet extension.Get the format option.Get output file name.Get output format.Get output stream.voidsetActionHandler(IHTMLActionHandler actionHandler) voidsetExtension(String extension) Set extension id.voidsetFormatter(Map formatters) Set the formatters used to output the value.voidsetImageHandler(IHTMLImageHandler imageHandler) voidsetInstanceID(InstanceID iid) voidsetOutputFile(String filename) Set output file.voidsetOutputFormat(String format) Set output format.voidSet output stream.Methods inherited from class org.eclipse.birt.report.engine.api.TaskOption
getBooleanOption, getIntOption, getOption, getOptions, getStringOption, hasOption, setOptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.birt.report.engine.api.ITaskOption
getOption, getOptions, hasOption, setOption
-
Constructor Details
-
DataExtractionOption
public DataExtractionOption() -
DataExtractionOption
-
-
Method Details
-
setExtension
Set extension id.- Specified by:
setExtensionin interfaceIDataExtractionOption- Parameters:
extension- extension id.
-
setOutputFile
Set output file.- Specified by:
setOutputFilein interfaceIExtractionOption- Parameters:
filename- name of the output file.
-
setOutputFormat
Set output format.- Specified by:
setOutputFormatin interfaceIExtractionOption- Parameters:
format- output format.
-
setOutputStream
Set output stream.- Specified by:
setOutputStreamin interfaceIExtractionOption- Parameters:
out- output stream.
-
getExtension
Get extension.- Specified by:
getExtensionin interfaceIDataExtractionOption
-
getOutputFile
Get output file name.- Specified by:
getOutputFilein interfaceIExtractionOption
-
getOutputFormat
Get output format.- Specified by:
getOutputFormatin interfaceIExtractionOption
-
getOutputStream
Get output stream.- Specified by:
getOutputStreamin interfaceIExtractionOption
-
getActionHandler
- Specified by:
getActionHandlerin interfaceIDataExtractionOption
-
getImageHandler
- Specified by:
getImageHandlerin interfaceIDataExtractionOption
-
getInstanceID
- Specified by:
getInstanceIDin interfaceIDataExtractionOption
-
setActionHandler
- Specified by:
setActionHandlerin interfaceIDataExtractionOption
-
setImageHandler
- Specified by:
setImageHandlerin interfaceIDataExtractionOption
-
setInstanceID
- Specified by:
setInstanceIDin interfaceIDataExtractionOption
-
setFormatter
Description copied from interface:IExtractionOptionSet the formatters used to output the value. The format option is a hash map, the key can be the column name or column index (start from 1), the value should be a format pattern. If no format is defined, the value should be outputted as current implementation.- Specified by:
setFormatterin interfaceIExtractionOption
-
getFormatter
Description copied from interface:IExtractionOptionGet the format option.- Specified by:
getFormatterin interfaceIExtractionOption- Returns:
-