X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Fio%2FStreamCopier.java;h=8f1592d255385dd9d4318ef705562dafd2e59d69;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hp=d1d0b11e65e4564980b6076ad87ce40d22072106;hpb=a689a44df847282b2ea40e917f178976e7c80682;p=jSite2.git diff --git a/src/net/pterodactylus/util/io/StreamCopier.java b/src/net/pterodactylus/util/io/StreamCopier.java index d1d0b11..8f1592d 100644 --- a/src/net/pterodactylus/util/io/StreamCopier.java +++ b/src/net/pterodactylus/util/io/StreamCopier.java @@ -27,9 +27,8 @@ import java.io.OutputStream; /** * Helper class that copies bytes from an {@link InputStream} to an * {@link OutputStream}. - * + * * @author David Roden - * @version $Id$ */ public class StreamCopier { @@ -41,7 +40,7 @@ public class StreamCopier { /** * Sets the buffer size for following transfers. - * + * * @param bufferSize * The new buffer size */ @@ -55,7 +54,7 @@ public class StreamCopier { * as much bytes as possible will be copied (i.e. until * {@link InputStream#read()} returns -1 to signal the end of * the stream). - * + * * @param source * The input stream to read from * @param destination @@ -86,7 +85,7 @@ public class StreamCopier { * Copies as much bytes as possible (i.e. until {@link InputStream#read()} * returns -1) from the source input stream to the * destination output stream. - * + * * @param source * The input stream to read from * @param destination @@ -101,7 +100,7 @@ public class StreamCopier { /** * Finds the length of the input stream by reading until * {@link InputStream#read(byte[])} returns -1. - * + * * @param source * The input stream to measure * @return The length of the input stream in bytes