2323
2424/**
2525 * Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a
26- * href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
26+ * href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
2727 *
2828 * @see CharEncoding
29- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
29+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
3030 * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
3131 * @version $Id$
3232 * @since 1.4
@@ -42,7 +42,7 @@ public class StringUtils {
4242 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
4343 * @throws IllegalStateException
4444 * Thrown when the charset is missing, which should be never according the the Java specification.
45- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
45+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
4646 * @see #getBytesUnchecked(String, String)
4747 */
4848 public static byte [] getBytesIso8859_1 (String string ) {
@@ -58,7 +58,7 @@ public static byte[] getBytesIso8859_1(String string) {
5858 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
5959 * @throws IllegalStateException
6060 * Thrown when the charset is missing, which should be never according the the Java specification.
61- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
61+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
6262 * @see #getBytesUnchecked(String, String)
6363 */
6464 public static byte [] getBytesUsAscii (String string ) {
@@ -74,7 +74,7 @@ public static byte[] getBytesUsAscii(String string) {
7474 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
7575 * @throws IllegalStateException
7676 * Thrown when the charset is missing, which should be never according the the Java specification.
77- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
77+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7878 * @see #getBytesUnchecked(String, String)
7979 */
8080 public static byte [] getBytesUtf16 (String string ) {
@@ -90,7 +90,7 @@ public static byte[] getBytesUtf16(String string) {
9090 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
9191 * @throws IllegalStateException
9292 * Thrown when the charset is missing, which should be never according the the Java specification.
93- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
93+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
9494 * @see #getBytesUnchecked(String, String)
9595 */
9696 public static byte [] getBytesUtf16Be (String string ) {
@@ -106,7 +106,7 @@ public static byte[] getBytesUtf16Be(String string) {
106106 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
107107 * @throws IllegalStateException
108108 * Thrown when the charset is missing, which should be never according the the Java specification.
109- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
109+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
110110 * @see #getBytesUnchecked(String, String)
111111 */
112112 public static byte [] getBytesUtf16Le (String string ) {
@@ -122,7 +122,7 @@ public static byte[] getBytesUtf16Le(String string) {
122122 * @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
123123 * @throws IllegalStateException
124124 * Thrown when the charset is missing, which should be never according the the Java specification.
125- * @see <a href="http://java.sun .com/j2se /1.4.2 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
125+ * @see <a href="http://download.oracle .com/javase /1.5.0 /docs/api/java/nio/charset/Charset.html">Standard charsets</a>
126126 * @see #getBytesUnchecked(String, String)
127127 */
128128 public static byte [] getBytesUtf8 (String string ) {
0 commit comments