Package com.adaptris.hpcc.arguments
Class FixedSprayFormat
- java.lang.Object
-
- com.adaptris.hpcc.arguments.SprayFormat
-
- com.adaptris.hpcc.arguments.FixedSprayFormat
-
- All Implemented Interfaces:
ComponentLifecycleExtension
public class FixedSprayFormat extends SprayFormat
SprayFormat implementation that allows the configuration of command specific arguments forformat=fixed
sprays.argument required description default recordsize yes The fixed size of each record, in bytes. N/A
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adaptris.hpcc.arguments.SprayFormat
SprayFormat.ENCODING
-
-
Constructor Summary
Constructors Constructor Description FixedSprayFormat()
FixedSprayFormat(int recordSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine)
java.lang.String
getFormat()
java.lang.Integer
getRecordSize()
void
prepare()
void
setRecordSize(java.lang.Integer recordSize)
-
Methods inherited from class com.adaptris.hpcc.arguments.SprayFormat
addArguments
-
-
-
-
Method Detail
-
addCommandSpecificArguments
public void addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine)
-
prepare
public void prepare() throws CoreException
- Throws:
CoreException
-
getFormat
public java.lang.String getFormat()
-
getRecordSize
public java.lang.Integer getRecordSize()
-
setRecordSize
public void setRecordSize(java.lang.Integer recordSize)
-
-