Package com.adaptris.hpcc.arguments
Class XMLSprayFormat
java.lang.Object
com.adaptris.hpcc.arguments.SprayFormat
com.adaptris.hpcc.arguments.XMLSprayFormat
- All Implemented Interfaces:
ComponentLifecycleExtension
SprayFormat implementation that allows the configuration of command specific arguments for
format=xml
sprays.
rowTag | yes | The XML tag identifying each record. | N/A |
encoding | no | One of the following: utf8 utf8n utf16 utf16le utf16be utf32 utf32le utf32be | utf8 |
maxrecordsize | no | The maximum size of each record, in bytes. | 8192 |
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()
void
prepare()
void
setEncoding
(SprayFormat.ENCODING encoding) void
setMaxRecordSize
(Integer maxRecordSize) void
Methods inherited from class com.adaptris.hpcc.arguments.SprayFormat
addArguments
-
Constructor Details
-
XMLSprayFormat
public XMLSprayFormat() -
XMLSprayFormat
-
-
Method Details
-
prepare
- Throws:
CoreException
-
addCommandSpecificArguments
public void addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine) -
getRowTag
-
setRowTag
-
getFormat
-
setEncoding
-
getEncoding
-
encoding
-
setMaxRecordSize
-
getMaxRecordSize
-