1 |
/* UTF_8.java -- |
/* UTF_8.java -- |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
84 |
|
|
85 |
private static final class Decoder extends CharsetDecoder |
private static final class Decoder extends CharsetDecoder |
86 |
{ |
{ |
87 |
private Decoder (Charset cs) |
// Package-private to avoid a trampoline constructor. |
88 |
|
Decoder (Charset cs) |
89 |
{ |
{ |
90 |
super (cs, 1.0f, 1.0f); |
super (cs, 1.0f, 1.0f); |
91 |
} |
} |
172 |
|
|
173 |
private static final class Encoder extends CharsetEncoder |
private static final class Encoder extends CharsetEncoder |
174 |
{ |
{ |
175 |
private Encoder (Charset cs) |
// Package-private to avoid a trampoline constructor. |
176 |
|
Encoder (Charset cs) |
177 |
{ |
{ |
178 |
// According to |
// According to |
179 |
// http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html |
// http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html |