org.jruby
Class RubyNKF

java.lang.Object
  extended by org.jruby.RubyNKF

public class RubyNKF
extends java.lang.Object


Nested Class Summary
static class RubyNKF.NKFCharset
           
 
Field Summary
static RubyNKF.NKFCharset ASCII
           
static RubyNKF.NKFCharset AUTO
           
static RubyNKF.NKFCharset BASE64
           
static RubyNKF.NKFCharset BINARY
           
static RubyNKF.NKFCharset EUC
           
static RubyNKF.NKFCharset JIS
           
static RubyNKF.NKFCharset MIME_DETECT
           
static RubyNKF.NKFCharset NOCONV
           
static RubyNKF.NKFCharset OTHER
           
static RubyNKF.NKFCharset QENCODE
           
static RubyNKF.NKFCharset SJIS
           
static RubyNKF.NKFCharset UNKNOWN
           
static RubyNKF.NKFCharset UTF16
           
static RubyNKF.NKFCharset UTF32
           
static RubyNKF.NKFCharset UTF8
           
 
Constructor Summary
RubyNKF()
           
 
Method Summary
static void createNKF(Ruby runtime)
           
static IRubyObject guess(ThreadContext context, IRubyObject recv, IRubyObject s)
           
static IRubyObject guess1(ThreadContext context, IRubyObject recv, IRubyObject str)
           
static IRubyObject guess2(ThreadContext context, IRubyObject recv, IRubyObject str)
           
static IRubyObject nkf(ThreadContext context, IRubyObject recv, IRubyObject opt, IRubyObject str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO

public static final RubyNKF.NKFCharset AUTO

JIS

public static final RubyNKF.NKFCharset JIS

EUC

public static final RubyNKF.NKFCharset EUC

SJIS

public static final RubyNKF.NKFCharset SJIS

BINARY

public static final RubyNKF.NKFCharset BINARY

NOCONV

public static final RubyNKF.NKFCharset NOCONV

UNKNOWN

public static final RubyNKF.NKFCharset UNKNOWN

ASCII

public static final RubyNKF.NKFCharset ASCII

UTF8

public static final RubyNKF.NKFCharset UTF8

UTF16

public static final RubyNKF.NKFCharset UTF16

UTF32

public static final RubyNKF.NKFCharset UTF32

OTHER

public static final RubyNKF.NKFCharset OTHER

BASE64

public static final RubyNKF.NKFCharset BASE64

QENCODE

public static final RubyNKF.NKFCharset QENCODE

MIME_DETECT

public static final RubyNKF.NKFCharset MIME_DETECT
Constructor Detail

RubyNKF

public RubyNKF()
Method Detail

createNKF

public static void createNKF(Ruby runtime)

guess

public static IRubyObject guess(ThreadContext context,
                                IRubyObject recv,
                                IRubyObject s)

guess1

public static IRubyObject guess1(ThreadContext context,
                                 IRubyObject recv,
                                 IRubyObject str)

guess2

public static IRubyObject guess2(ThreadContext context,
                                 IRubyObject recv,
                                 IRubyObject str)

nkf

public static IRubyObject nkf(ThreadContext context,
                              IRubyObject recv,
                              IRubyObject opt,
                              IRubyObject str)


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