Skip to content

Commit efcd0e7

Browse files
committed
Javadoc
1 parent 4c46df1 commit efcd0e7

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public static void copy(final byte[] input, final OutputStream output) throws IO
127127
* Copies and convert bytes from a {@code byte[]} to chars on a
128128
* {@link Writer}.
129129
* The platform's default encoding is used for the byte-to-char conversion.
130+
*
130131
* @param input the byte array to read from
131132
* @param output the {@link Writer} to write to
132133
* @throws IOException In case of an I/O problem
@@ -141,6 +142,7 @@ public static void copy(final byte[] input, final Writer output) throws IOExcept
141142
/**
142143
* Copies and convert bytes from a {@code byte[]} to chars on a
143144
* {@link Writer}, using the specified encoding.
145+
*
144146
* @param input the byte array to read from
145147
* @param output the {@link Writer} to write to
146148
* @param encoding The name of a supported character encoding. See the
@@ -156,6 +158,7 @@ public static void copy(final byte[] input, final Writer output, final String en
156158
/**
157159
* Copies bytes from an {@link InputStream} to an
158160
* {@link OutputStream}.
161+
*
159162
* @param input the {@link InputStream} to read from
160163
* @param output the {@link OutputStream} to write to
161164
* @return the number of bytes copied
@@ -176,6 +179,7 @@ public static int copy(final InputStream input, final OutputStream output) throw
176179
* Copies and convert bytes from an {@link InputStream} to chars on a
177180
* {@link Writer}.
178181
* The platform's default encoding is used for the byte-to-char conversion.
182+
*
179183
* @param input the {@link InputStream} to read from
180184
* @param output the {@link Writer} to write to
181185
* @throws IOException In case of an I/O problem
@@ -194,6 +198,7 @@ public static void copy(
194198
/**
195199
* Copies and convert bytes from an {@link InputStream} to chars on a
196200
* {@link Writer}, using the specified encoding.
201+
*
197202
* @param input the {@link InputStream} to read from
198203
* @param output the {@link Writer} to write to
199204
* @param encoding The name of a supported character encoding. See the
@@ -214,6 +219,7 @@ public static void copy(
214219
* Serialize chars from a {@link Reader} to bytes on an
215220
* {@link OutputStream}, and flush the {@link OutputStream}.
216221
* Uses the default platform encoding.
222+
*
217223
* @param input the {@link Reader} to read from
218224
* @param output the {@link OutputStream} to write to
219225
* @throws IOException In case of an I/O problem
@@ -235,6 +241,7 @@ public static void copy(
235241
/**
236242
* Serialize chars from a {@link Reader} to bytes on an
237243
* {@link OutputStream}, and flush the {@link OutputStream}.
244+
*
238245
* @param input the {@link Reader} to read from
239246
* @param output the {@link OutputStream} to write to
240247
* @param encoding The name of a supported character encoding. See the
@@ -257,6 +264,7 @@ public static void copy(
257264

258265
/**
259266
* Copies chars from a {@link Reader} to a {@link Writer}.
267+
*
260268
* @param input the {@link Reader} to read from
261269
* @param output the {@link Writer} to write to
262270
* @return the number of characters copied
@@ -281,6 +289,7 @@ public static int copy(
281289
* {@link OutputStream}, and
282290
* flush the {@link OutputStream}.
283291
* Uses the platform default encoding.
292+
*
284293
* @param input the {@link String} to read from
285294
* @param output the {@link OutputStream} to write to
286295
* @throws IOException In case of an I/O problem
@@ -304,6 +313,7 @@ public static void copy(
304313
* Serialize chars from a {@link String} to bytes on an
305314
* {@link OutputStream}, and
306315
* flush the {@link OutputStream}.
316+
*
307317
* @param input the {@link String} to read from
308318
* @param output the {@link OutputStream} to write to
309319
* @param encoding The name of a supported character encoding. See the
@@ -327,6 +337,7 @@ public static void copy(
327337

328338
/**
329339
* Copies chars from a {@link String} to a {@link Writer}.
340+
*
330341
* @param input the {@link String} to read from
331342
* @param output the {@link Writer} to write to
332343
* @throws IOException In case of an I/O problem

0 commit comments

Comments
 (0)