com.ning.http.util
Class UTF8Codec

java.lang.Object
  extended by com.ning.http.util.UTF8Codec

public class UTF8Codec
extends Object

Wrapper class for more convenient (and possibly more efficient in future) UTF-8 encoding and decoding.


Constructor Summary
UTF8Codec()
           
 
Method Summary
static String fromUTF8(byte[] input)
           
static String fromUTF8(byte[] input, int offset, int len)
           
static byte[] toUTF8(String input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTF8Codec

public UTF8Codec()
Method Detail

toUTF8

public static byte[] toUTF8(String input)

fromUTF8

public static String fromUTF8(byte[] input)

fromUTF8

public static String fromUTF8(byte[] input,
                              int offset,
                              int len)


Copyright © 2011. All Rights Reserved.