Interface FileCopierUtil.ContentModifier

  • Enclosing interface:
    FileCopierUtil

    public static interface FileCopierUtil.ContentModifier
    Allows content lines to be modified, or additional content to be written
    • Method Detail

      • process

        boolean process​(java.lang.String input,
                        FileCopierUtil.ContentModifier.Sink sink)
                 throws java.io.IOException
        Process the reader into the writer
        Parameters:
        input - a line of input
        sink - destination for output
        Returns:
        true if the modifier should accept another input line, false to finish processing
        Throws:
        java.io.IOException