org.jruby.util
Class KCode

java.lang.Object
  extended byorg.jruby.util.KCode

public class KCode
extends java.lang.Object


Field Summary
static KCode EUC
           
static KCode NIL
           
static KCode NONE
           
static KCode SJIS
           
static KCode UTF8
           
 
Method Summary
static KCode create(Ruby runtime, java.lang.String lang)
           
 java.nio.charset.CharsetDecoder decoder()
           
 java.nio.charset.CharsetEncoder encoder()
           
 int flags()
           
 IRubyObject kcode(Ruby runtime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NIL

public static final KCode NIL

NONE

public static final KCode NONE

UTF8

public static final KCode UTF8

SJIS

public static final KCode SJIS

EUC

public static final KCode EUC
Method Detail

create

public static KCode create(Ruby runtime,
                           java.lang.String lang)

kcode

public IRubyObject kcode(Ruby runtime)

decoder

public java.nio.charset.CharsetDecoder decoder()

encoder

public java.nio.charset.CharsetEncoder encoder()

flags

public int flags()


Copyright © 2002-2007 JRuby Team. All Rights Reserved.