1 |
/* Charset.java -- |
/* Charset.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 |
|
|
35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package java.nio.charset; |
package java.nio.charset; |
40 |
|
|
41 |
|
import gnu.java.nio.charset.Provider; |
42 |
|
|
43 |
import java.nio.ByteBuffer; |
import java.nio.ByteBuffer; |
44 |
import java.nio.CharBuffer; |
import java.nio.CharBuffer; |
45 |
import java.nio.charset.spi.CharsetProvider; |
import java.nio.charset.spi.CharsetProvider; |
50 |
import java.util.Set; |
import java.util.Set; |
51 |
import java.util.SortedMap; |
import java.util.SortedMap; |
52 |
import java.util.TreeMap; |
import java.util.TreeMap; |
|
import gnu.java.nio.charset.Provider; |
|
53 |
|
|
54 |
/** |
/** |
55 |
* @author Jesse Rosenstock |
* @author Jesse Rosenstock |
156 |
// XXX: we need to support multiple providers, reading them from |
// XXX: we need to support multiple providers, reading them from |
157 |
// java.nio.charset.spi.CharsetProvider in the resource directory |
// java.nio.charset.spi.CharsetProvider in the resource directory |
158 |
// META-INF/services |
// META-INF/services |
159 |
private static final CharsetProvider provider () |
private static CharsetProvider provider () |
160 |
{ |
{ |
161 |
return Provider.provider (); |
return Provider.provider (); |
162 |
} |
} |