X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Fio%2FStreamCopier.java;h=8f1592d255385dd9d4318ef705562dafd2e59d69;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hp=f4137448c8818072a16c0c7709c7cc36e80979ee;hpb=cf127faffabd3f07b0acc6de9ea746059d571b56;p=jSite2.git diff --git a/src/net/pterodactylus/util/io/StreamCopier.java b/src/net/pterodactylus/util/io/StreamCopier.java index f413744..8f1592d 100644 --- a/src/net/pterodactylus/util/io/StreamCopier.java +++ b/src/net/pterodactylus/util/io/StreamCopier.java @@ -27,7 +27,7 @@ import java.io.OutputStream; /** * Helper class that copies bytes from an {@link InputStream} to an * {@link OutputStream}. - * + * * @author David Roden */ public class StreamCopier { @@ -40,7 +40,7 @@ public class StreamCopier { /** * Sets the buffer size for following transfers. - * + * * @param bufferSize * The new buffer size */ @@ -54,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 @@ -85,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 @@ -100,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