public class Cob2HashMapConverter extends AbstractCob2ObjectConverter<Map<String,Object>>
Convenience class using Cob2ObjectVisitor to perform a record
conversion.
Assumes a CobolComplexType is available. The CobolComplexType
describes the incoming mainframe datum.
This class is immutable and Thread safe.
| Modifier and Type | Class and Description |
|---|---|
static class |
Cob2HashMapConverter.Builder |
| Modifier and Type | Method and Description |
|---|---|
FromHostResult<Map<String,Object>> |
convert(byte[] hostData,
int start,
int length)
Converts the mainframe data starting at the specified position into an
object.
|
convert, getCobolComplexType, getCobolContext, getCustomChoiceStrategy, getCustomVariablespublic FromHostResult<Map<String,Object>> convert(byte[] hostData, int start, int length)
Cob2ObjectConverterhostData - a byte array holding mainframe datastart - where to start in the mainframe byte arraylength - where to stop in the mainframe byte arrayCopyright © 2021 LegSem. All rights reserved.