X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FFileEntry.java;h=f939d78c7725787e33c9c007c1d1ed541498d6d5;hb=dd605aee444057a874fabf7fb0045b8448b0d1cd;hp=6d0e8a367d5635a3c6c7700ec70c2f8a9bcda8a8;hpb=e0d4c56493b97a16514ca865cad0ae42a2d8a5a2;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/FileEntry.java b/src/net/pterodactylus/fcp/FileEntry.java index 6d0e8a3..f939d78 100644 --- a/src/net/pterodactylus/fcp/FileEntry.java +++ b/src/net/pterodactylus/fcp/FileEntry.java @@ -24,7 +24,7 @@ import java.util.Map; /** * Container class for file entry data. - * + * * @see ClientPutComplexDir#addFileEntry(FileEntry) * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ @@ -38,7 +38,7 @@ public abstract class FileEntry { /** * Creates a new file entry with the given name and upload source. - * + * * @param name * The name of the file * @param uploadFrom @@ -52,7 +52,7 @@ public abstract class FileEntry { /** * Creates a new file entry for a file that should be transmitted to the * node in the payload of the message. - * + * * @param name * The name of the file * @param contentType @@ -70,7 +70,7 @@ public abstract class FileEntry { /** * Creates a new file entry for a file that should be uploaded from disk. - * + * * @param name * The name of the file * @param filename @@ -89,7 +89,7 @@ public abstract class FileEntry { /** * Creates a new file entry for a file that redirects to another URI. - * + * * @param name * The name of the file * @param targetURI @@ -102,7 +102,7 @@ public abstract class FileEntry { /** * Returns the fields for this file entry. - * + * * @return The fields for this file entry */ abstract Map getFields(); @@ -110,7 +110,7 @@ public abstract class FileEntry { /** * A file entry for a file that should be transmitted in the payload of the * {@link ClientPutComplexDir} message. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ static class DirectFileEntry extends FileEntry { @@ -126,7 +126,7 @@ public abstract class FileEntry { /** * Creates a new direct file entry with content type auto-detection. - * + * * @param name * The name of the file * @param length @@ -140,7 +140,7 @@ public abstract class FileEntry { /** * Creates a new direct file entry. - * + * * @param name * The name of the file * @param contentType @@ -175,7 +175,7 @@ public abstract class FileEntry { /** * Returns the input stream of the file. - * + * * @return The input stream of the file */ InputStream getInputStream() { @@ -186,7 +186,7 @@ public abstract class FileEntry { /** * A file entry for a file that should be uploaded from the disk. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ static class DiskFileEntry extends FileEntry { @@ -202,7 +202,7 @@ public abstract class FileEntry { /** * Creates a new disk file entry. - * + * * @param name * The name of the file * @param filename @@ -216,7 +216,7 @@ public abstract class FileEntry { /** * Creates a new disk file entry. - * + * * @param name * The name of the file * @param filename @@ -256,7 +256,7 @@ public abstract class FileEntry { /** * A file entry for a file that redirects to another URI. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ static class RedirectFileEntry extends FileEntry { @@ -266,7 +266,7 @@ public abstract class FileEntry { /** * Creates a new redirect file entry. - * + * * @param name * The name of the file * @param targetURI