Interface FileCopierUtil.ContentModifier
-
- Enclosing interface:
- FileCopierUtil
public static interface FileCopierUtil.ContentModifierAllows content lines to be modified, or additional content to be written
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFileCopierUtil.ContentModifier.Sink
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanprocess(java.lang.String input, FileCopierUtil.ContentModifier.Sink sink)Process the reader into the writer
-
-
-
Method Detail
-
process
boolean process(java.lang.String input, FileCopierUtil.ContentModifier.Sink sink) throws java.io.IOExceptionProcess the reader into the writer- Parameters:
input- a line of inputsink- destination for output- Returns:
- true if the modifier should accept another input line, false to finish processing
- Throws:
java.io.IOException
-
-