Class FixedLengthParserBuilder


  • public class FixedLengthParserBuilder
    extends ParserBuilder
    Builder for fixed length stream parsers.
    Since:
    2.1.0
    • Constructor Detail

      • FixedLengthParserBuilder

        public FixedLengthParserBuilder()
    • Method Detail

      • recordTerminator

        public FixedLengthParserBuilder recordTerminator​(java.lang.String terminator)
        Sets the record terminator.
        Parameters:
        terminator - the record termination character
        Returns:
        this
      • enableLineContinuation

        public FixedLengthParserBuilder enableLineContinuation​(char c)
        Enables the given line continuation character.
        Parameters:
        c - the character
        Returns:
        this
      • enableComments

        public FixedLengthParserBuilder enableComments​(java.lang.String... comments)
        Enables one or more line prefixes that indicate a commented line.
        Parameters:
        comments - the list of prefixes
        Returns:
        this