public class FileLineDifferenceIterator
extends java.lang.Object
implements java.io.Closeable, java.util.Iterator<java.lang.String>
FileIOUtils.writeAsLine(BufferedWriter, String, boolean)
with true to escape line break
characters.Constructor and Description |
---|
FileLineDifferenceIterator(java.io.File marked,
java.io.File available,
@Nullable java.util.function.Function<java.lang.String,java.lang.String> transformer) |
FileLineDifferenceIterator(LineIterator marked,
LineIterator available) |
FileLineDifferenceIterator(LineIterator marked,
LineIterator available,
@Nullable java.util.function.Function<java.lang.String,java.lang.String> transformer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
java.lang.String |
next() |
public FileLineDifferenceIterator(LineIterator marked, LineIterator available, @Nullable @Nullable java.util.function.Function<java.lang.String,java.lang.String> transformer) throws java.io.IOException
java.io.IOException
public FileLineDifferenceIterator(java.io.File marked, java.io.File available, @Nullable @Nullable java.util.function.Function<java.lang.String,java.lang.String> transformer) throws java.io.IOException
java.io.IOException
public FileLineDifferenceIterator(LineIterator marked, LineIterator available) throws java.io.IOException
java.io.IOException
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.String>
public java.lang.String next()
next
in interface java.util.Iterator<java.lang.String>
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved