gnu.CORBA.GIOP

Class CharSets_OSF


public class CharSets_OSF
extends Object

This class contains the codes, used to identify character sets in CORBA. These codes are defined in Open Software Foundation (OSF) code set registry. The name of this class specially sets "OSF" apart if somebody would start searching Open Software Foundation abbreviation.

Field Summary

static int
ASCII
static int
Cp1047
static int
Cp1250
static int
Cp1251
static int
Cp1252
static int
Cp1253
static int
Cp1254
static int
Cp1255
static int
Cp1256
static int
Cp1257
static int
Cp1363
static int
Cp1363C
static int
Cp1381
static int
Cp1383
static int
Cp1386
static int
Cp33722
static int
Cp33722C
static int
Cp930
static int
Cp943
static int
Cp943C
static int
Cp949
static int
Cp949C
static int
Cp950
static int
Cp964
static int
Cp970
static int
EUC_JP
static int
EUC_KR
static int
EUC_TW
static int
ISO8859_1
static int
ISO8859_15_FDIS
static int
ISO8859_2
static int
ISO8859_3
static int
ISO8859_4
static int
ISO8859_5
static int
ISO8859_6
static int
ISO8859_7
static int
ISO8859_8
static int
ISO8859_9
static int
NATIVE_CHARACTER
The native character set for the narrow character.
static int
NATIVE_WIDE_CHARACTER
The native character set for the wide character.
static int
UCS2
static int
UTF16
static int
UTF8

Method Summary

static int
getCode(String name)
Get the charset code from its name.
static String
getName(int code)
Get the charset name from its code.
static int[]
getSupportedCharSets()
Get the list of supported char sets for that the CORBA codes are also known.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

ASCII

public static final int ASCII
Field Value:
65568

Cp1047

public static final int Cp1047
Field Value:
268567575

Cp1250

public static final int Cp1250
Field Value:
268567778

Cp1251

public static final int Cp1251
Field Value:
268567779

Cp1252

public static final int Cp1252
Field Value:
268567780

Cp1253

public static final int Cp1253
Field Value:
268567781

Cp1254

public static final int Cp1254
Field Value:
268567782

Cp1255

public static final int Cp1255
Field Value:
268567783

Cp1256

public static final int Cp1256
Field Value:
268567784

Cp1257

public static final int Cp1257
Field Value:
268567785

Cp1363

public static final int Cp1363
Field Value:
268567891

Cp1363C

public static final int Cp1363C
Field Value:
268567891

Cp1381

public static final int Cp1381
Field Value:
268567909

Cp1383

public static final int Cp1383
Field Value:
268567911

Cp1386

public static final int Cp1386
Field Value:
268567914

Cp33722

public static final int Cp33722
Field Value:
268600250

Cp33722C

public static final int Cp33722C
Field Value:
268600250

Cp930

public static final int Cp930
Field Value:
268567458

Cp943

public static final int Cp943
Field Value:
268567471

Cp943C

public static final int Cp943C
Field Value:
268567471

Cp949

public static final int Cp949
Field Value:
268567477

Cp949C

public static final int Cp949C
Field Value:
268567477

Cp950

public static final int Cp950
Field Value:
268567478

Cp964

public static final int Cp964
Field Value:
268567492

Cp970

public static final int Cp970
Field Value:
268567498

EUC_JP

public static final int EUC_JP
Field Value:
196624

EUC_KR

public static final int EUC_KR
Field Value:
262154

EUC_TW

public static final int EUC_TW
Field Value:
327696

ISO8859_1

public static final int ISO8859_1
Field Value:
65537

ISO8859_15_FDIS

public static final int ISO8859_15_FDIS
Field Value:
65551

ISO8859_2

public static final int ISO8859_2
Field Value:
65538

ISO8859_3

public static final int ISO8859_3
Field Value:
65539

ISO8859_4

public static final int ISO8859_4
Field Value:
65540

ISO8859_5

public static final int ISO8859_5
Field Value:
65541

ISO8859_6

public static final int ISO8859_6
Field Value:
65542

ISO8859_7

public static final int ISO8859_7
Field Value:
65543

ISO8859_8

public static final int ISO8859_8
Field Value:
65544

ISO8859_9

public static final int ISO8859_9
Field Value:
65545

NATIVE_CHARACTER

public static final int NATIVE_CHARACTER
The native character set for the narrow character.
Field Value:
65537

NATIVE_WIDE_CHARACTER

public static final int NATIVE_WIDE_CHARACTER
The native character set for the wide character.
Field Value:
65801

UCS2

public static final int UCS2
Field Value:
65792

UTF16

public static final int UTF16
Field Value:
65801

UTF8

public static final int UTF8
Field Value:
83951617

Method Details

getCode

public static int getCode(String name)
Get the charset code from its name.
Returns:
the charset code of 0 if not defined.

getName

public static String getName(int code)
Get the charset name from its code.
Returns:
the code set name or nullfor the unknown code set.

getSupportedCharSets

public static int[] getSupportedCharSets()
Get the list of supported char sets for that the CORBA codes are also known.

CharSets_OSF.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.