Skip to content

Commit 4daab02

Browse files
committed
[IO-594] IOUtils copy methods with java.lang.Appendable as the target.
1 parent d403c70 commit 4daab02

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,25 +1151,6 @@ public static long copyLarge(final InputStream input, final OutputStream output,
11511151
return totalRead;
11521152
}
11531153

1154-
/**
1155-
* Copies chars from a large (over 2GB) <code>Reader</code> to an <code>Appendable</code>.
1156-
* <p>
1157-
* This method buffers the input internally, so there is no need to use a
1158-
* <code>BufferedReader</code>.
1159-
* </p>
1160-
* The buffer size is given by {@link #DEFAULT_BUFFER_SIZE}.
1161-
*
1162-
* @param input the <code>Reader</code> to read from
1163-
* @param output the <code>Appendable</code> to append to
1164-
* @return the number of characters copied
1165-
* @throws NullPointerException if the input or output is null
1166-
* @throws IOException if an I/O error occurs
1167-
* @since 2.7
1168-
*/
1169-
public static long copyLarge(final Reader input, final Appendable output) throws IOException {
1170-
return copy(input, output, CharBuffer.allocate(DEFAULT_BUFFER_SIZE));
1171-
}
1172-
11731154
/**
11741155
* Copies chars from a <code>Reader</code> to an <code>Appendable</code>.
11751156
* <p>

0 commit comments

Comments
 (0)