public class StringJavaAddons extends Object
Constructor and Description |
---|
StringJavaAddons() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
from_java_bytes(ThreadContext context,
IRubyObject self,
IRubyObject bytes) |
static IRubyObject |
from_java_bytes(ThreadContext context,
IRubyObject self,
IRubyObject bytes,
IRubyObject encoding) |
static IRubyObject |
to_java_bytes(ThreadContext context,
IRubyObject self) |
static IRubyObject |
to_java_string(ThreadContext context,
IRubyObject self) |
public static IRubyObject to_java_bytes(ThreadContext context, IRubyObject self)
public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes)
public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes, IRubyObject encoding)
public static IRubyObject to_java_string(ThreadContext context, IRubyObject self)
Copyright © 2001-2013 JRuby. All Rights Reserved.