Class SimpleLineReader

    • Method Detail

      • readLine

        public String readLine​(Reader reader,
                               Padder defaultPadder,
                               String propertyDelimiter,
                               int recordLength,
                               String lineSeparator)
        Description copied from interface: LineReader
        Reads a line from a Reader. This is where you want to add your customization
        Specified by:
        readLine in interface LineReader
        Parameters:
        reader - a reader, reading from a fixed-length file
        defaultPadder - the padder to optionally use when reading a line
        propertyDelimiter - the delimiter used to delimit properties on a line
        recordLength - the total expected length of a line
        lineSeparator - the character sequence used to mark the end of a line
        Returns:
        a string, or null if there are no more lines to read