ru.smartflex.tools.dbf
Enum DbfCodePages

java.lang.Object
  extended by java.lang.Enum<DbfCodePages>
      extended by ru.smartflex.tools.dbf.DbfCodePages
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DbfCodePages>

public enum DbfCodePages
extends java.lang.Enum<DbfCodePages>

Enumeration of the supported code pages

Since:
1.00
Author:
galisha

Enum Constant Summary
ANSI
           
Cp1250
           
Cp1251
           
Cp1252
           
Cp1252_1
           
Cp1252_2
           
Cp1253
           
Cp1254
           
Cp1257
           
Cp437
           
Cp437_10
           
Cp437_2
           
Cp437_3
           
Cp437_4
           
Cp437_5
           
Cp437_6
           
Cp437_7
           
Cp437_8
           
Cp437_9
           
Cp737
           
Cp737_1
           
Cp850
           
Cp850_10
           
Cp850_11
           
Cp850_2
           
Cp850_3
           
Cp850_4
           
Cp850_5
           
Cp850_6
           
Cp850_7
           
Cp850_8
           
Cp850_9
           
Cp852
           
Cp852_1
           
Cp852_2
           
Cp852_3
           
Cp852_4
           
Cp852_5
           
Cp857
           
Cp857_1
           
Cp860
           
Cp861
           
Cp863
           
Cp863_1
           
Cp865
           
Cp865_1
           
Cp865_2
           
Cp866
           
Cp866_1
           
Cp874
           
Cp874_1
           
Cp949
           
Cp949_1
           
Cp950
           
Cp950_1
           
MS932
           
MS932_1
           
MS936
           
MS936_1
           
TIS620
           
 
Method Summary
protected  DbfCodePages getByCharSet(java.lang.String charSet)
           
protected  DbfCodePages getByDbfCode(int code)
           
protected  java.lang.String getCharsetName()
           
protected  int getDbfCode()
           
static DbfCodePages valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DbfCodePages[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Cp437

public static final DbfCodePages Cp437

Cp850

public static final DbfCodePages Cp850

Cp1252

public static final DbfCodePages Cp1252

Cp865

public static final DbfCodePages Cp865

Cp437_2

public static final DbfCodePages Cp437_2

Cp850_2

public static final DbfCodePages Cp850_2

Cp437_3

public static final DbfCodePages Cp437_3

Cp437_4

public static final DbfCodePages Cp437_4

Cp850_3

public static final DbfCodePages Cp850_3

Cp437_5

public static final DbfCodePages Cp437_5

Cp850_4

public static final DbfCodePages Cp850_4

Cp437_6

public static final DbfCodePages Cp437_6

Cp850_5

public static final DbfCodePages Cp850_5

MS932

public static final DbfCodePages MS932

Cp850_6

public static final DbfCodePages Cp850_6

Cp437_7

public static final DbfCodePages Cp437_7

Cp850_7

public static final DbfCodePages Cp850_7

Cp865_1

public static final DbfCodePages Cp865_1

Cp437_8

public static final DbfCodePages Cp437_8

Cp437_9

public static final DbfCodePages Cp437_9

Cp850_8

public static final DbfCodePages Cp850_8

Cp437_10

public static final DbfCodePages Cp437_10

Cp863

public static final DbfCodePages Cp863

Cp850_9

public static final DbfCodePages Cp850_9

Cp852

public static final DbfCodePages Cp852

Cp852_1

public static final DbfCodePages Cp852_1

Cp852_2

public static final DbfCodePages Cp852_2

Cp860

public static final DbfCodePages Cp860

Cp850_10

public static final DbfCodePages Cp850_10

Cp866

public static final DbfCodePages Cp866

Cp850_11

public static final DbfCodePages Cp850_11

Cp852_3

public static final DbfCodePages Cp852_3

MS936

public static final DbfCodePages MS936

Cp949

public static final DbfCodePages Cp949

Cp950

public static final DbfCodePages Cp950

Cp874

public static final DbfCodePages Cp874

ANSI

public static final DbfCodePages ANSI

Cp1252_1

public static final DbfCodePages Cp1252_1

Cp1252_2

public static final DbfCodePages Cp1252_2

Cp852_4

public static final DbfCodePages Cp852_4

Cp866_1

public static final DbfCodePages Cp866_1

Cp865_2

public static final DbfCodePages Cp865_2

Cp861

public static final DbfCodePages Cp861

TIS620

public static final DbfCodePages TIS620

Cp737

public static final DbfCodePages Cp737

Cp857

public static final DbfCodePages Cp857

Cp863_1

public static final DbfCodePages Cp863_1

Cp950_1

public static final DbfCodePages Cp950_1

Cp949_1

public static final DbfCodePages Cp949_1

MS936_1

public static final DbfCodePages MS936_1

MS932_1

public static final DbfCodePages MS932_1

Cp874_1

public static final DbfCodePages Cp874_1

Cp737_1

public static final DbfCodePages Cp737_1

Cp852_5

public static final DbfCodePages Cp852_5

Cp857_1

public static final DbfCodePages Cp857_1

Cp1250

public static final DbfCodePages Cp1250

Cp1251

public static final DbfCodePages Cp1251

Cp1254

public static final DbfCodePages Cp1254

Cp1253

public static final DbfCodePages Cp1253

Cp1257

public static final DbfCodePages Cp1257
Method Detail

values

public static DbfCodePages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DbfCodePages c : DbfCodePages.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DbfCodePages valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDbfCode

protected int getDbfCode()

getCharsetName

protected java.lang.String getCharsetName()

getByCharSet

protected DbfCodePages getByCharSet(java.lang.String charSet)

getByDbfCode

protected DbfCodePages getByDbfCode(int code)