--- old/src/java.activation/share/classes/javax/activation/MimetypesFileTypeMap.java 2015-04-21 17:20:11.044098480 +0400 +++ new/src/java.activation/share/classes/javax/activation/MimetypesFileTypeMap.java 2015-04-21 17:20:10.956098480 +0400 @@ -33,33 +33,32 @@ /** * This class extends FileTypeMap and provides data typing of files - * via their file extension. It uses the .mime.types format.

+ * via their file extension. It uses the {@code .mime.types} format.

* * MIME types file search order:

* The MimetypesFileTypeMap looks in various places in the user's * system for MIME types file entries. When requests are made * to search for MIME types in the MimetypesFileTypeMap, it searches * MIME types files in the following order: - *

*

    *
  1. Programmatically added entries to the MimetypesFileTypeMap instance. - *
  2. The file .mime.types in the user's home directory. - *
  3. The file <java.home>/lib/mime.types. - *
  4. The file or resources named META-INF/mime.types. - *
  5. The file or resource named META-INF/mimetypes.default - * (usually found only in the activation.jar file). + *
  6. The file {@code .mime.types} in the user's home directory. + *
  7. The file {@literal <}java.home{@literal >}{@code /lib/mime.types}. + *
  8. The file or resources named {@code META-INF/mime.types}. + *
  9. The file or resource named {@code META-INF/mimetypes.default} + * (usually found only in the {@code activation.jar} file). *
*

- * MIME types file format:

+ * MIME types file format: * - * - * # comments begin with a '#'
- * # the format is <mime type> <space separated file extensions>
- * # for example:
- * text/plain txt text TXT
- * # this would map file.txt, file.text, and file.TXT to
- * # the mime type "text/plain"
- *
+ *

{@code
+ * # comments begin with a '#'
+ * # the format is  
+ * # for example:
+ * text/plain    txt text TXT
+ * # this would map file.txt, file.text, and file.TXT to
+ * # the mime type "text/plain"
+ * }
* * @author Bart Calder * @author Bill Shannon @@ -277,7 +276,7 @@ /** * Return the MIME type of the file object. * The implementation in this class calls - * getContentType(f.getName()). + * {@code getContentType(f.getName())}. * * @param f the file * @return the file's MIME type