3434 * documentation for your implementation to see if any other encodings are supported. </cite>
3535 * </p>
3636 *
37- * <ul>
38- * <li>{@code US-ASCII}<br>
39- * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.</li>
40- * <li>{@code ISO-8859-1}<br>
41- * ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.</li>
42- * <li>{@code UTF-8}<br>
43- * Eight-bit Unicode Transformation Format.</li>
44- * <li>{@code UTF-16BE}<br>
45- * Sixteen-bit Unicode Transformation Format, big-endian byte order.</li>
46- * <li>{@code UTF-16LE}<br>
47- * Sixteen-bit Unicode Transformation Format, little-endian byte order.</li>
48- * <li>{@code UTF-16}<br>
49- * Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
50- * accepted on input, big-endian used on output.)</li>
51- * </ul>
37+ * <table>
38+ * <caption>Standard Charsets</caption>
39+ * <tr>
40+ * <th>Charset</th>
41+ * <th>Description</th>
42+ * </tr>
43+ * <tr>
44+ * <td style="white-space: nowrap">{@code US-ASCII}</td>
45+ * <td>Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.</td>
46+ * </tr>
47+ * <tr>
48+ * <td style="white-space: nowrap">{@code ISO-8859-1}</td>
49+ * <td>ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.</td>
50+ * </tr>
51+ * <tr>
52+ * <td style="white-space: nowrap">{@code UTF-8}</td>
53+ * <td>Eight-bit Unicode Transformation Format.</td>
54+ * </tr>
55+ * <tr>
56+ * <td style="white-space: nowrap">{@code UTF-16BE}</td>
57+ * <td>Sixteen-bit Unicode Transformation Format, big-endian byte order.</td>
58+ * </tr>
59+ * <tr>
60+ * <td style="white-space: nowrap">{@code UTF-16LE}</td>
61+ * <td>Sixteen-bit Unicode Transformation Format, little-endian byte order.</td>
62+ * </tr>
63+ * <tr>
64+ * <td style="white-space: nowrap">{@code UTF-16}</td>
65+ * <td>Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
66+ * accepted on input, big-endian used on output.)</td>
67+ * </tr>
68+ * </table>
5269 *
5370 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5471 * @since 2.3
@@ -80,7 +97,7 @@ public class Charsets {
8097 * </p>
8198 *
8299 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
83- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
100+ * @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1}.
84101 */
85102 @ Deprecated
86103 public static final Charset ISO_8859_1 = StandardCharsets .ISO_8859_1 ;
@@ -94,7 +111,7 @@ public class Charsets {
94111 * </p>
95112 *
96113 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
97- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
114+ * @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII}.
98115 */
99116 @ Deprecated
100117 public static final Charset US_ASCII = StandardCharsets .US_ASCII ;
@@ -109,7 +126,7 @@ public class Charsets {
109126 * </p>
110127 *
111128 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
112- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
129+ * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16}.
113130 */
114131 @ Deprecated
115132 public static final Charset UTF_16 = StandardCharsets .UTF_16 ;
@@ -123,7 +140,7 @@ public class Charsets {
123140 * </p>
124141 *
125142 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
126- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
143+ * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE}.
127144 */
128145 @ Deprecated
129146 public static final Charset UTF_16BE = StandardCharsets .UTF_16BE ;
@@ -137,7 +154,7 @@ public class Charsets {
137154 * </p>
138155 *
139156 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
140- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
157+ * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE}.
141158 */
142159 @ Deprecated
143160 public static final Charset UTF_16LE = StandardCharsets .UTF_16LE ;
@@ -151,7 +168,7 @@ public class Charsets {
151168 * </p>
152169 *
153170 * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
154- * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
171+ * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8}.
155172 */
156173 @ Deprecated
157174 public static final Charset UTF_8 = StandardCharsets .UTF_8 ;
0 commit comments