source:
ether_ndacc/trunk/common/implementation/com/ether/UTF8Charset.java
@
204
Last change on this file since 204 was 204, checked in by vmipsl, 13 years ago | |
---|---|
File size: 360 bytes |
Line | |
---|---|
1 | package com.ether; |
2 | |
3 | import java.nio.charset.Charset; |
4 | |
5 | public class UTF8Charset |
6 | { |
7 | public static Charset getCharset() |
8 | { |
9 | return CHARSET; |
10 | } |
11 | |
12 | public static String getEncoding() |
13 | { |
14 | return ENCODING; |
15 | } |
16 | |
17 | private static final String ENCODING = "UTF-8"; |
18 | private static final Charset CHARSET = Charset.forName( ENCODING ); |
19 | } |
Note: See TracBrowser
for help on using the repository browser.