Skip to content

Commit 8976a60

Browse files
committed
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1309644 13f79535-47bb-0310-9956-ffa450edef68
1 parent 398df52 commit 8976a60

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

src/main/java/org/apache/commons/io/Charsets.java

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,35 @@
2020
import java.nio.charset.UnsupportedCharsetException;
2121

2222
/**
23-
* Helps use {@link Charset}
23+
* Charsets required of every implementation of the Java platform.
2424
*
25-
* @version $Id$
25+
* From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
26+
* charsets</a>:
27+
* <p>
28+
* <cite>Every implementation of the Java platform is required to support the following character encodings. Consult the
29+
* release documentation for your implementation to see if any other encodings are supported. Consult the release
30+
* documentation for your implementation to see if any other encodings are supported. </cite>
31+
* </p>
32+
*
33+
* <ul>
34+
* <li><code>US-ASCII</code><br/>
35+
* Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.</li>
36+
* <li><code>ISO-8859-1</code><br/>
37+
* ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.</li>
38+
* <li><code>UTF-8</code><br/>
39+
* Eight-bit Unicode Transformation Format.</li>
40+
* <li><code>UTF-16BE</code><br/>
41+
* Sixteen-bit Unicode Transformation Format, big-endian byte order.</li>
42+
* <li><code>UTF-16LE</code><br/>
43+
* Sixteen-bit Unicode Transformation Format, little-endian byte order.</li>
44+
* <li><code>UTF-16</code><br/>
45+
* Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
46+
* accepted on input, big-endian used on output.)</li>
47+
* </ul>
48+
*
49+
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
2650
* @since 2.3
51+
* @version $Id$
2752
*/
2853
public class Charsets {
2954
//

0 commit comments

Comments
 (0)