Class PomModifications.Final

    • Method Detail

      • appliesTo

        public boolean appliesTo​(int lineNumber)
      • apply

        public int apply​(BufferedReader in,
                         Writer out,
                         String line)
                  throws IOException
        Applies the next modification to the input reader, writing the result to the output writer.
        Parameters:
        in - the input reader.
        out - the output writer.
        line - the current line of the input reader.
        Returns:
        the line number of `in` after the modification has been applied (changes iff the input reader was advanced).
        Throws:
        IOException - if an I/O error occurs.