Package com.adaptris.hpcc.arguments
Class CSVSprayFormat
java.lang.Object
com.adaptris.hpcc.arguments.SprayFormat
com.adaptris.hpcc.arguments.CSVSprayFormat
- All Implemented Interfaces:
ComponentLifecycleExtension
SprayFormat implementation that allows the configuration of command specific arguments for
format=csv
sprays.
encoding | no | One of the following: ascii, utf8, utf8n, utf16, utf16le, utf16be, utf32, utf32le, utf32be | ascii |
maxrecordsize | no | The maximum size of each record, in bytes. | 8192 |
separator | no | The field delimiter. | comma (\,) |
terminator | no | The record delimiter. | line feed or carriage return linefeed (\r,\r\n) |
quote | no | The string quote character. | single quote (’). |
NOTE: Defaults are driven by dfuplus command them selves, they will not be set unless explicitly set.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.adaptris.hpcc.arguments.SprayFormat
SprayFormat.ENCODING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommandSpecificArguments
(org.apache.commons.exec.CommandLine cmdLine) encoding()
getQuote()
void
prepare()
void
setEncoding
(SprayFormat.ENCODING encoding) void
setMaxRecordSize
(Integer maxRecordSize) void
void
setSeparator
(String separator) void
setTerminator
(String terminator) Methods inherited from class com.adaptris.hpcc.arguments.SprayFormat
addArguments
-
Constructor Details
-
CSVSprayFormat
public CSVSprayFormat()
-
-
Method Details
-
prepare
- Throws:
CoreException
-
addCommandSpecificArguments
public void addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine) -
getFormat
-
setEncoding
-
getEncoding
-
encoding
-
setMaxRecordSize
-
getMaxRecordSize
-
setSeparator
-
getSeparator
-
setQuote
-
getQuote
-
setTerminator
-
getTerminator
-