Home » openjdk-7 » java » nio » [javadoc | source]
java.nio
final class: CharToByteBufferAdapter [javadoc | source]
java.lang.Object
   java.nio.Buffer
      java.nio.CharBuffer
         java.nio.CharToByteBufferAdapter

All Implemented Interfaces:
    org.apache.harmony.nio.internal.DirectBuffer, CharSequence, Comparable, Appendable, Readable

This class wraps a byte buffer to be a char buffer.

Implementation notice:

Fields inherited from java.nio.Buffer:
address
Constructor:
 CharToByteBufferAdapter(ByteBuffer byteBuffer) 
Method from java.nio.CharToByteBufferAdapter Summary:
addressValidityCheck,   asReadOnlyBuffer,   compact,   duplicate,   free,   get,   get,   getBaseAddress,   getByteCapacity,   getEffectiveAddress,   isAddressValid,   isDirect,   isReadOnly,   order,   protectedArray,   protectedArrayOffset,   protectedHasArray,   put,   put,   slice,   subSequence,   wrap
Methods from java.nio.CharBuffer:
allocate,   append,   append,   append,   array,   arrayOffset,   asReadOnlyBuffer,   charAt,   compact,   compareTo,   duplicate,   equals,   get,   get,   get,   get,   hasArray,   hashCode,   isDirect,   length,   order,   protectedArray,   protectedArrayOffset,   protectedHasArray,   put,   put,   put,   put,   put,   put,   put,   read,   slice,   subSequence,   toString,   wrap,   wrap,   wrap,   wrap
Methods from java.nio.Buffer:
array,   arrayOffset,   capacity,   checkBounds,   checkIndex,   checkIndex,   clear,   discardMark,   flip,   hasArray,   hasRemaining,   isDirect,   isReadOnly,   limit,   limit,   mark,   markValue,   nextGetIndex,   nextGetIndex,   nextPutIndex,   nextPutIndex,   position,   position,   remaining,   reset,   rewind
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.nio.CharToByteBufferAdapter Detail:
 public  void addressValidityCheck() 
 public CharBuffer asReadOnlyBuffer() 
 public CharBuffer compact() 
 public CharBuffer duplicate() 
 public  void free() 
 public char get() 
 public char get(int index) 
 public PlatformAddress getBaseAddress() 
 public int getByteCapacity() 
 public PlatformAddress getEffectiveAddress() 
 public boolean isAddressValid() 
 public boolean isDirect() 
 public boolean isReadOnly() 
 public ByteOrder order() 
 protected char[] protectedArray() 
 protected int protectedArrayOffset() 
 protected boolean protectedHasArray() 
 public CharBuffer put(char c) 
 public CharBuffer put(int index,
    char c) 
 public CharBuffer slice() 
 public CharSequence subSequence(int start,
    int end) 
 static CharBuffer wrap(ByteBuffer byteBuffer)