Class FileIOUtils.FileLineDifferenceIterator
- java.lang.Object
-
- com.google.common.collect.UnmodifiableIterator<T>
-
- com.google.common.collect.AbstractIterator<java.lang.String>
-
- org.apache.jackrabbit.oak.commons.FileIOUtils.FileLineDifferenceIterator
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.util.Iterator<java.lang.String>
- Enclosing class:
- FileIOUtils
@Deprecated(since="1.20.0", forRemoval=true) public static class FileIOUtils.FileLineDifferenceIterator extends AbstractIterator<java.lang.String> implements java.io.CloseableDeprecated, for removal: This API element is subject to removal in a future version.useFileLineDifferenceIteratorinsteadFileLineDifferenceIterator class which iterates over the difference of 2 files line by line. If there is a scope for lines in the files containing line break characters it should be ensured that both the files are written withFileIOUtils.writeAsLine(BufferedWriter, String, boolean)with true to escape line break characters.
-
-
Constructor Summary
Constructors Constructor Description FileLineDifferenceIterator(java.io.File marked, java.io.File available, @Nullable Function<java.lang.String,java.lang.String> transformer)Deprecated, for removal: This API element is subject to removal in a future version.FileLineDifferenceIterator(LineIterator marked, LineIterator available)Deprecated, for removal: This API element is subject to removal in a future version.FileLineDifferenceIterator(LineIterator marked, LineIterator available, @Nullable Function<java.lang.String,java.lang.String> transformer)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class com.google.common.collect.AbstractIterator
hasNext, next, peek
-
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
-
-
-
-
Constructor Detail
-
FileLineDifferenceIterator
public FileLineDifferenceIterator(LineIterator marked, LineIterator available) throws java.io.IOException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
java.io.IOException
-
FileLineDifferenceIterator
public FileLineDifferenceIterator(java.io.File marked, java.io.File available, @Nullable @Nullable Function<java.lang.String,java.lang.String> transformer) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
java.io.IOException
-
FileLineDifferenceIterator
public FileLineDifferenceIterator(LineIterator marked, LineIterator available, @Nullable @Nullable Function<java.lang.String,java.lang.String> transformer) throws java.io.IOException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
java.io.IOException
-
-