public class RdwCobolComplexTypeFinder extends CobolComplexTypeFinder
| Modifier and Type | Field and Description |
|---|---|
static int |
RDW_LEN |
| Constructor and Description |
|---|
RdwCobolComplexTypeFinder(CobolContext cobolContext,
CobolComplexType cobolComplexType,
String stopFieldInclusive) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRdw(byte[] hostData,
int start,
int length) |
int |
getSignatureLen() |
boolean |
match(byte[] hostData,
int start,
int length)
Match a Cobol type to an incoming host bytes set.
|
getCobolComplexType, getMaxBytesLen, getMinBytesLen, getStopFieldInclusiveindexOfpublic static final int RDW_LEN
public RdwCobolComplexTypeFinder(CobolContext cobolContext, CobolComplexType cobolComplexType, String stopFieldInclusive)
public boolean match(byte[] hostData,
int start,
int length)
CobolComplexTypeFindermatch in class CobolComplexTypeFinderhostData - the host bytes setstart - where to start matchinglength - the size of the incoming host bytes set. This should be large
enough to hold a signature but is not guaranteed to hold more
than that.public int getRdw(byte[] hostData,
int start,
int length)
public int getSignatureLen()
CobolComplexTypeFindergetSignatureLen in class CobolComplexTypeFinderCopyright © 2021 LegSem. All rights reserved.