com.github.nkzawa.utf8
Class UTF8

java.lang.Object
  extended by com.github.nkzawa.utf8.UTF8

public class UTF8
extends Object

UTF-8 encoder/decoder ported from utf8.js.

See Also:
https://github.com/mathiasbynens/utf8.js

Constructor Summary
UTF8()
           
 
Method Summary
static String decode(String byteString)
           
static String encode(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTF8

public UTF8()
Method Detail

encode

public static String encode(String string)

decode

public static String decode(String byteString)
                     throws UTF8Exception
Throws:
UTF8Exception


Copyright © 2014. All rights reserved.