public class MatchBase extends Object implements MatchIntf
| Modifier and Type | Field and Description |
|---|---|
protected DataProcessConfigIntf |
dataProcessConfigIntf |
protected DataProcessEngine |
engine |
protected int |
foundPos |
protected int |
foundPosLen |
protected String |
token |
protected List<String> |
tokenData |
| Constructor and Description |
|---|
MatchBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
findMatch(String aData,
int aColumnStart,
String aMatch,
boolean aFieldFlag,
DataProcessBlock aBlock) |
int |
getDefError() |
int |
getFoundPosition() |
int |
getFoundPositionLength() |
String |
getToken() |
protected List<String> |
getTokens(String anInput,
String aTag) |
void |
init(DataProcessConfigIntf aConfig,
DataProcessEngine anEngine) |
void |
setFoundPosition(int aPosition) |
void |
setFoundPositionLength(int aPosition) |
void |
setToken(String aToken,
List<String> aTokenData) |
protected List<String> |
setTokens(String aBlockToken,
String aFileToken,
String aData) |
void |
shutdown() |
protected DataProcessConfigIntf dataProcessConfigIntf
protected DataProcessEngine engine
protected String token
protected int foundPos
protected int foundPosLen
public void init(DataProcessConfigIntf aConfig, DataProcessEngine anEngine) throws Exception
public boolean findMatch(String aData, int aColumnStart, String aMatch, boolean aFieldFlag, DataProcessBlock aBlock) throws Exception
public int getFoundPosition()
getFoundPosition in interface MatchIntfpublic void setFoundPosition(int aPosition)
setFoundPosition in interface MatchIntfpublic int getFoundPositionLength()
getFoundPositionLength in interface MatchIntfpublic void setFoundPositionLength(int aPosition)
setFoundPositionLength in interface MatchIntfpublic void shutdown()
throws Exception
protected List<String> setTokens(String aBlockToken, String aFileToken, String aData) throws Exception
Exceptionprotected List<String> getTokens(String anInput, String aTag) throws Exception
Exceptionpublic int getDefError()
Copyright © 2020. All rights reserved.