X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Fio%2FMimeTypes.java;h=b7f961846388576ce171d641fdd1f97d727e17d7;hp=d9eaf916b45cf2afe2ec2b64e53f612d2b25219f;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hpb=55be4a9e8373d72a9e1c25a3c8150651bb19679d diff --git a/src/net/pterodactylus/util/io/MimeTypes.java b/src/net/pterodactylus/util/io/MimeTypes.java index d9eaf91..b7f9618 100644 --- a/src/net/pterodactylus/util/io/MimeTypes.java +++ b/src/net/pterodactylus/util/io/MimeTypes.java @@ -27,7 +27,7 @@ import java.util.Map; /** * Handles MIME types and maps them to file extensions. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class MimeTypes { @@ -768,7 +768,7 @@ public class MimeTypes { /** * Returns a list of all known MIME types. - * + * * @return All known MIME types */ public static List getAllMimeTypes() { @@ -777,7 +777,7 @@ public class MimeTypes { /** * Returns a list of MIME types that are registered for the given extension. - * + * * @param extension * The extension to get the MIME types for * @return A list of MIME types, or an empty list if there are no registered @@ -794,7 +794,7 @@ public class MimeTypes { * Returns a default MIME type for the given extension. If the extension * does not match a MIME type the default MIME typ * “application/octet-stream” is returned. - * + * * @param extension * The extension to get the MIME type for * @return The MIME type for the extension, or the default MIME type @@ -813,7 +813,7 @@ public class MimeTypes { /** * Adds a MIME type and optional extensions. - * + * * @param mimeType * The MIME type to add * @param extensions