public abstract class FixedFieldFileReaderAbstract extends Object
Modifier and Type | Field and Description |
---|---|
protected FixedFieldFileDescriptor |
descriptor |
protected int |
errorCount |
protected static org.slf4j.Logger |
logger |
protected int |
rowNumber |
Constructor and Description |
---|
FixedFieldFileReaderAbstract(FixedFieldFileDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEndlineError(String currentEndline) |
protected void |
addRecordLenthError(int length) |
abstract void |
close() |
static Properties |
endlineMapper() |
protected static String |
formatEndline(String el) |
ResourceBundle |
getBundle() |
FixedFieldFileDescriptor |
getDescriptor() |
String |
getEndline() |
int |
getErrorCount() |
List<FixedFileFieldValidationResult> |
getGenericValidationErrors() |
abstract boolean |
hasNext() |
abstract String |
nextLine() |
FixedFileFieldMap |
nextRawMap() |
protected static org.slf4j.Logger logger
protected FixedFieldFileDescriptor descriptor
protected int rowNumber
protected int errorCount
public FixedFieldFileReaderAbstract(FixedFieldFileDescriptor descriptor) throws IOException
IOException
public static final Properties endlineMapper()
public List<FixedFileFieldValidationResult> getGenericValidationErrors()
public abstract boolean hasNext() throws IOException
IOException
public abstract void close() throws IOException
IOException
public abstract String nextLine()
public FixedFileFieldMap nextRawMap()
public FixedFieldFileDescriptor getDescriptor()
public int getErrorCount()
public ResourceBundle getBundle()
public String getEndline()
protected void addEndlineError(String currentEndline)
protected void addRecordLenthError(int length)
Copyright © 2022 Fugerit. All rights reserved.