public class AsciiFileDef extends DefinitionType
Modifier and Type | Field and Description |
---|---|
protected RecordDef |
bodyDef |
protected java.lang.String |
fieldDelimiter |
protected boolean |
getDefFromHeader |
protected boolean |
getDefFromNpl |
protected RecordDef |
headerDef |
protected boolean |
headerRecExists |
protected NPLFieldProcessor |
nplProcessor |
protected java.lang.String |
recordDelimiter |
protected RecordDef |
trailerDef |
protected boolean |
trailerRecExists |
AGGREGATEEXTRAFIELDS_ATT, BODYRECORD_TAG, CONTAINER_ATT, DEFAULT_FIELD_DELIM, DEFAULT_REC_DELIM, DEFINITION_TAG, FIELD_TAG, FIELDDELIM_ATT, GETDEFFROMHEADER_TAG, GETDEFFROMNPL_TAG, HEADERRECORD_TAG, IGNORE_ATT, LINE_BREAK, logger, node, RECORDDELIM_ATT, SKIPCONSECUTIVEDELIMS_ATT, SUBRECORD_TAG, TRAILERRECORD_TAG
Constructor and Description |
---|
AsciiFileDef(DCNode node,
NPLFieldProcessor processor,
java.lang.String recordDelim,
java.lang.String fieldDelim) |
Modifier and Type | Method and Description |
---|---|
RecordDef |
getBodyDef() |
boolean |
getDefFromHeader() |
boolean |
getDefFromNpl() |
java.lang.String |
getFieldDelimiter() |
RecordDef |
getHeaderDef() |
java.lang.String |
getRecordDelimiter() |
RecordDef |
getTrailerDef() |
boolean |
headerRecExists() |
boolean |
init(java.io.InputStream inputStream) |
protected boolean |
processDef(org.w3c.dom.Element def) |
protected void |
processDefFromNpl() |
protected boolean |
processRecordDefs(java.util.ArrayList elems) |
boolean |
trailerRecExists() |
getSubElements, isFieldDelimiterValid, isRecordDelimiterValid
protected NPLFieldProcessor nplProcessor
protected boolean getDefFromHeader
protected boolean getDefFromNpl
protected RecordDef headerDef
protected RecordDef bodyDef
protected RecordDef trailerDef
protected boolean headerRecExists
protected boolean trailerRecExists
protected java.lang.String recordDelimiter
protected java.lang.String fieldDelimiter
public AsciiFileDef(DCNode node, NPLFieldProcessor processor, java.lang.String recordDelim, java.lang.String fieldDelim)
public boolean init(java.io.InputStream inputStream)
protected boolean processDef(org.w3c.dom.Element def)
protected boolean processRecordDefs(java.util.ArrayList elems)
protected void processDefFromNpl()
public boolean getDefFromHeader()
public boolean getDefFromNpl()
public RecordDef getHeaderDef()
public RecordDef getBodyDef()
public RecordDef getTrailerDef()
public java.lang.String getRecordDelimiter()
public java.lang.String getFieldDelimiter()
public boolean headerRecExists()
public boolean trailerRecExists()