Methods
| Modifier and Type |
Method and Description |
org.jruby.util.ByteList |
convert(ThreadContext context,
org.jruby.util.ByteList value,
boolean is7BitASCII) |
RubyCoderResult |
econvConvert(ThreadContext context,
org.jruby.util.ByteList inBuffer,
org.jruby.util.ByteList outBuffer) |
org.jruby.util.ByteList |
econvStrConvert(ThreadContext context,
org.jruby.util.ByteList value,
boolean finish) |
org.jruby.util.ByteList |
finish(org.jcodings.Encoding altEncoding) |
CharsetTranscoder.CodingActions |
getCodingErrorActions() |
RaiseException |
getLastError() |
RubyCoderResult |
getLastResult() |
String |
getReplaceWith() |
static CharsetTranscoder |
open(ThreadContext context,
byte[] sourceEncoding,
byte[] destinationEncoding,
int flags,
IRubyObject replace) |
RubyCoderResult |
primitiveConvert(ThreadContext context,
org.jruby.util.ByteList inBuffer,
org.jruby.util.ByteList outBuffer,
int outOffset,
int outLimit,
org.jcodings.Encoding inEncoding,
boolean is7BitASCII,
int flags) |
static CharsetTranscoder.CodingActions |
processCodingErrorActions(ThreadContext context,
int flags,
IRubyObject replace) |
static CharsetTranscoder.CodingActions |
processCodingErrorActions(ThreadContext context,
IRubyObject opts) |
static String |
stringFromCoderResult(CoderResult coderResult,
int flags,
boolean binaryToCharacter) |
static org.jruby.util.ByteList |
strTranscode(ThreadContext context,
RubyString self,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding,
IRubyObject opt) |
static org.jruby.util.ByteList |
strTranscode0(ThreadContext context,
RubyString self,
org.jcodings.Encoding senc,
org.jcodings.Encoding denc,
int ecflags,
IRubyObject ecopts) |
org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value) |
org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
boolean is7BitASCII) |
RubyCoderResult |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
org.jruby.util.ByteList dest) |
static org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding,
IRubyObject opts)
This will try and transcode the supplied ByteList to the supplied toEncoding.
|
static org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding,
IRubyObject opts,
boolean is7BitASCII) |
static Charset |
transcodeCharsetFor(Ruby runtime,
byte[] name,
org.jcodings.Encoding encoding,
boolean is7Bit) |