X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fapplication%2FFileOption.java;h=c1d201a7e2892229bf2c9bbad906caead7972d0d;hb=bbfa208695e2a7f1bb555f841623945767f296e7;hp=41e83b788cc85e69f8f8e3ceb037f8fe32e4840a;hpb=da127cd41fa65b7ec217f8e9f525ed7534abf5e1;p=jSite.git diff --git a/src/de/todesbaum/jsite/application/FileOption.java b/src/de/todesbaum/jsite/application/FileOption.java index 41e83b7..c1d201a 100644 --- a/src/de/todesbaum/jsite/application/FileOption.java +++ b/src/de/todesbaum/jsite/application/FileOption.java @@ -21,7 +21,7 @@ package de.todesbaum.jsite.application; /** * Container for various file options. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class FileOption { @@ -64,7 +64,7 @@ public class FileOption { /** * Creates new file options. - * + * * @param defaultMimeType * The default MIME type of the file */ @@ -81,7 +81,7 @@ public class FileOption { /** * Returns the custom key. The custom key is only used when * {@link #isInsert()} returns true. - * + * * @return The custom key */ public String getCustomKey() { @@ -91,7 +91,7 @@ public class FileOption { /** * Sets the custom key. The custom key is only used when {@link #isInsert()} * returns true. - * + * * @param customKey * The custom key */ @@ -105,7 +105,7 @@ public class FileOption { /** * Returns whether the file should be inserted. If a file is not inserted, a * custom key has to be specified for it. - * + * * @see #setCustomKey(String) * @return true if the file should be inserted, * false otherwise @@ -117,7 +117,7 @@ public class FileOption { /** * Sets whether the file should be inserted. If a file is not inserted, a * custom key has to be specified for it. - * + * * @param insert * true if the file should be inserted, * false otherwise @@ -129,7 +129,7 @@ public class FileOption { /** * Sets the MIME type of the file. Setting the MIME type to * null will set the MIME type to the default MIME type. - * + * * @param mimeType * The MIME type of the file */ @@ -143,7 +143,7 @@ public class FileOption { /** * Returns the MIME type of the file. If no custom MIME type has been set, * the default MIME type is returned. - * + * * @return The MIME type of the file */ public String getMimeType() { @@ -152,7 +152,7 @@ public class FileOption { /** * Returns the name of the container this file should be put in. - * + * * @return The name of the container */ public String getContainer() { @@ -161,7 +161,7 @@ public class FileOption { /** * Sets the name of the container this file should be put in. - * + * * @param container * The name of the container */ @@ -174,7 +174,7 @@ public class FileOption { /** * Sets whether the file should have “$[EDITION+n]” tags replaced. - * + * * @param replaceEdition * true to replace tags, false not * to replace @@ -186,7 +186,7 @@ public class FileOption { /** * Returns whether the file should have “$[EDITION+n]” tags * replaced. - * + * * @return true if tags should be replaced, * false otherwise */ @@ -196,7 +196,7 @@ public class FileOption { /** * Sets the range of editions that should be replaced. - * + * * @param editionRange * The range editions to replace */ @@ -206,7 +206,7 @@ public class FileOption { /** * Returns the range of editions that should be replaced. - * + * * @return The range of editions to replace */ public int getEditionRange() { @@ -216,7 +216,7 @@ public class FileOption { /** * Returns whether the options for this file have been modified, i.e. are * not at their default values. - * + * * @return true if the options have been modified, * false if they are at default values */