public static enum RubyNKF.NKFCharset extends Enum<RubyNKF.NKFCharset>
Enum Constant and Description |
---|
ASCII |
AUTO |
BASE64 |
BINARY |
EUC |
JIS |
MIME_DETECT |
NOCONV |
OTHER |
QENCODE |
SJIS |
UNKNOWN |
UTF16 |
UTF32 |
UTF8 |
Modifier and Type | Method and Description |
---|---|
String |
getCharset() |
int |
getValue() |
static RubyNKF.NKFCharset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyNKF.NKFCharset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyNKF.NKFCharset AUTO
public static final RubyNKF.NKFCharset JIS
public static final RubyNKF.NKFCharset EUC
public static final RubyNKF.NKFCharset SJIS
public static final RubyNKF.NKFCharset BINARY
public static final RubyNKF.NKFCharset NOCONV
public static final RubyNKF.NKFCharset UNKNOWN
public static final RubyNKF.NKFCharset ASCII
public static final RubyNKF.NKFCharset UTF8
public static final RubyNKF.NKFCharset UTF16
public static final RubyNKF.NKFCharset UTF32
public static final RubyNKF.NKFCharset OTHER
public static final RubyNKF.NKFCharset BASE64
public static final RubyNKF.NKFCharset QENCODE
public static final RubyNKF.NKFCharset MIME_DETECT
public static RubyNKF.NKFCharset[] values()
for (RubyNKF.NKFCharset c : RubyNKF.NKFCharset.values()) System.out.println(c);
public static RubyNKF.NKFCharset valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public String getCharset()
Copyright © 2001-2014 JRuby. All Rights Reserved.