public class FixedLengthFileParser<T> extends Object
| Constructor and Description |
|---|
FixedLengthFileParser(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
parse(File file) |
List<T> |
parse(InputStream inputStream) |
FixedLengthFileParser<T> |
withAfterLine(int afterLine) |
FixedLengthFileParser<T> |
withCharset(Charset charset) |
FixedLengthFileParser<T> |
withEofCharacter(String eof) |
FixedLengthFileParser<T> |
withIgnoreColumnLengthError(boolean ignoreColumnLengthError) |
FixedLengthFileParser<T> |
withIgnoreFirstLine(boolean ignoreFirstLine) |
FixedLengthFileParser<T> |
withIgnoreLastLines(int linesToIgnore) |
FixedLengthFileParser<T> |
withIgnoreLineWhenErrors(boolean ignoreLineWhenError) |
FixedLengthFileParser<T> |
withRemoveDuplicatedSpaces(boolean removeDuplicatedSpaces) |
public FixedLengthFileParser<T> withAfterLine(int afterLine)
public FixedLengthFileParser<T> withCharset(Charset charset)
public FixedLengthFileParser<T> withIgnoreFirstLine(boolean ignoreFirstLine)
public FixedLengthFileParser<T> withIgnoreLineWhenErrors(boolean ignoreLineWhenError)
public FixedLengthFileParser<T> withRemoveDuplicatedSpaces(boolean removeDuplicatedSpaces)
public FixedLengthFileParser<T> withEofCharacter(String eof)
public FixedLengthFileParser<T> withIgnoreLastLines(int linesToIgnore)
public FixedLengthFileParser<T> withIgnoreColumnLengthError(boolean ignoreColumnLengthError)
public List<T> parse(File file) throws IOException, ReflectiveOperationException
public List<T> parse(InputStream inputStream) throws IOException, ReflectiveOperationException
Copyright © 2017 TecSinapse. All rights reserved.