Interface IExtractionOption
- All Superinterfaces:
ITaskOption
- All Known Subinterfaces:
IDataExtractionOption
- All Known Implementing Classes:
DataExtractionOption
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the format option.Get output file name.Get output format.Get output stream.void
setFormatter
(Map formatters) Set the formatters used to output the value.void
setOutputFile
(String filename) Set output file.void
setOutputFormat
(String format) Set output format.void
Set output stream.Methods inherited from interface org.eclipse.birt.report.engine.api.ITaskOption
getOption, getOptions, hasOption, setOption
-
Field Details
-
OUTPUT_FORMAT
- See Also:
-
OUTPUT_FILE_NAME
- See Also:
-
OUTPUT_STREAM
- See Also:
-
OPTION_FORMATTER
- See Also:
-
-
Method Details
-
setOutputFormat
Set output format.- Parameters:
format
- output format.
-
getOutputFormat
String getOutputFormat()Get output format. -
setOutputStream
Set output stream.- Parameters:
out
- output stream.
-
getOutputStream
OutputStream getOutputStream()Get output stream. -
setOutputFile
Set output file.- Parameters:
filename
- name of the output file.
-
getOutputFile
String getOutputFile()Get output file name. -
setFormatter
Set 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.- Parameters:
formatters
-
-
getFormatter
Map getFormatter()Get the format option.- Returns:
-