private static enum EncodingService.SpecialEncoding extends java.lang.Enum<EncodingService.SpecialEncoding>
| Enum Constant and Description |
|---|
EXTERNAL |
FILESYSTEM |
INTERNAL |
LOCALE |
| Modifier and Type | Method and Description |
|---|---|
org.jcodings.Encoding |
toEncoding(Ruby runtime) |
static EncodingService.SpecialEncoding |
valueOf(org.jruby.util.ByteList name) |
static EncodingService.SpecialEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingService.SpecialEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingService.SpecialEncoding LOCALE
public static final EncodingService.SpecialEncoding EXTERNAL
public static final EncodingService.SpecialEncoding INTERNAL
public static final EncodingService.SpecialEncoding FILESYSTEM
public static EncodingService.SpecialEncoding[] values()
for (EncodingService.SpecialEncoding c : EncodingService.SpecialEncoding.values()) System.out.println(c);
public static EncodingService.SpecialEncoding valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static EncodingService.SpecialEncoding valueOf(org.jruby.util.ByteList name)
public org.jcodings.Encoding toEncoding(Ruby runtime)