com.kenai.jaffl.provider
Class StringIO

java.lang.Object
  extended by com.kenai.jaffl.provider.StringIO

public class StringIO
extends java.lang.Object


Field Summary
 java.nio.charset.CharsetDecoder decoder
           
 java.nio.charset.CharsetEncoder encoder
           
 int nulByteCount
           
 
Constructor Summary
StringIO()
           
 
Method Summary
 java.lang.CharSequence fromNative(java.nio.ByteBuffer buf)
           
 java.lang.CharSequence fromNative(java.nio.ByteBuffer buf, int maxSize)
           
static StringIO getStringIO()
           
 void nulTerminate(java.nio.ByteBuffer buf)
           
 java.nio.ByteBuffer toNative(java.lang.CharSequence value, java.nio.ByteBuffer buf)
           
 java.nio.ByteBuffer toNative(java.lang.CharSequence value, int minSize, boolean copyIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encoder

public final java.nio.charset.CharsetEncoder encoder

decoder

public final java.nio.charset.CharsetDecoder decoder

nulByteCount

public final int nulByteCount
Constructor Detail

StringIO

public StringIO()
Method Detail

getStringIO

public static final StringIO getStringIO()

toNative

public final java.nio.ByteBuffer toNative(java.lang.CharSequence value,
                                          int minSize,
                                          boolean copyIn)

toNative

public final java.nio.ByteBuffer toNative(java.lang.CharSequence value,
                                          java.nio.ByteBuffer buf)

fromNative

public final java.lang.CharSequence fromNative(java.nio.ByteBuffer buf,
                                               int maxSize)

fromNative

public final java.lang.CharSequence fromNative(java.nio.ByteBuffer buf)

nulTerminate

public final void nulTerminate(java.nio.ByteBuffer buf)