public class CharsetTranscoder.TranscoderEngine
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CharsetTranscoder.TranscoderEngine.TranscoderState |
Modifier and Type | Field and Description |
---|---|
boolean |
binaryToCharacter |
java.nio.charset.CharsetDecoder |
decoder |
boolean |
didDecode |
boolean |
didEncode |
java.nio.charset.CharsetEncoder |
encoder |
RubyCoderResult |
result |
java.nio.CharBuffer |
tmpChars |
Constructor and Description |
---|
TranscoderEngine(java.nio.charset.Charset inCharset,
java.nio.charset.Charset outCharset,
boolean binaryToCharacter) |
Modifier and Type | Method and Description |
---|---|
float |
averageByteRatio() |
org.jruby.util.ByteList |
finish() |
void |
reset() |
RubyCoderResult |
transcode(CharsetTranscoder.TranscoderEngine.TranscoderState state,
int flags) |
public java.nio.CharBuffer tmpChars
public final java.nio.charset.CharsetDecoder decoder
public final java.nio.charset.CharsetEncoder encoder
public boolean binaryToCharacter
public RubyCoderResult result
public boolean didDecode
public boolean didEncode
public TranscoderEngine(java.nio.charset.Charset inCharset, java.nio.charset.Charset outCharset, boolean binaryToCharacter)
public float averageByteRatio()
public RubyCoderResult transcode(CharsetTranscoder.TranscoderEngine.TranscoderState state, int flags)
public org.jruby.util.ByteList finish()
public void reset()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.