Reformat source code, new line length for comments (79), some trailing whitespace...
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / ClientPutComplexDir.java
index c370eaf..154c837 100644 (file)
@@ -105,14 +105,34 @@ public class ClientPutComplexDir extends FcpMessage {
         * Sets whether an insert request should be forked when it is cached.
         *
         * @param forkOnCacheable
-        *            {@code true} to fork the insert when it is cached, {@code
-        *            false} otherwise
+        *            {@code true} to fork the insert when it is cached,
+        *            {@code false} otherwise
         */
        public void setForkOnCacheable(boolean forkOnCacheable) {
                setField("ForkOnCacheable", String.valueOf(forkOnCacheable));
        }
 
        /**
+        * Sets the number of additional inserts of single blocks.
+        *
+        * @param extraInsertsSingleBlock
+        *            The number of additional inserts
+        */
+       public void setExtraInsertsSingleBlock(int extraInsertsSingleBlock) {
+               setField("ExtraInsertsSingleBlock", String.valueOf(extraInsertsSingleBlock));
+       }
+
+       /**
+        * Sets the number of additional inserts of splitfile header blocks.
+        *
+        * @param extraInsertsSplitfileHeaderBlock
+        *            The number of additional inserts
+        */
+       public void setExtraInsertsSplitfileHeaderBlock(int extraInsertsSplitfileHeaderBlock) {
+               setField("ExtraInsertsSplitfileHeaderBlock", String.valueOf(extraInsertsSplitfileHeaderBlock));
+       }
+
+       /**
         * Sets whether the request is on the global queue.
         *
         * @param global
@@ -209,8 +229,8 @@ public class ClientPutComplexDir extends FcpMessage {
         * {@inheritDoc}
         * <p>
         * Do not call this method to add input streams! The input streams, if any,
-        * will be taken directly from the {@link FileEntry}s and the stream you set
-        * here will be overridden!
+        * will be taken directly from the {@link FileEntry}s and the stream you
+        * set here will be overridden!
         */
        @Override
        public void setPayloadInputStream(InputStream payloadInputStream) {