com.caucho.quercus.lib.i18n
Class Utf8Decoder

java.lang.Object
  extended by com.caucho.quercus.lib.i18n.Decoder
      extended by com.caucho.quercus.lib.i18n.Utf8Decoder

public class Utf8Decoder
extends Decoder


Field Summary
 
Fields inherited from class com.caucho.quercus.lib.i18n.Decoder
_charset, _hasError, _isAllowMalformedOut, _isIgnoreErrors, _isReplaceUnicode, _replacement
 
Constructor Summary
Utf8Decoder(java.lang.String charset)
           
 
Method Summary
protected  java.lang.StringBuilder decodeImpl(Env env, StringValue str)
           
 boolean isDecodable(Env env, StringValue str)
           
 boolean isUtf8()
           
 
Methods inherited from class com.caucho.quercus.lib.i18n.Decoder
create, decode, decodeStringBuilder, decodeUnicode, hasError, isIgnoreErrors, reset, setAllowMalformedOut, setIgnoreErrors, setReplacement, setReplaceUnicode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8Decoder

public Utf8Decoder(java.lang.String charset)
Method Detail

isUtf8

public boolean isUtf8()
Overrides:
isUtf8 in class Decoder

isDecodable

public boolean isDecodable(Env env,
                           StringValue str)
Specified by:
isDecodable in class Decoder

decodeImpl

protected java.lang.StringBuilder decodeImpl(Env env,
                                             StringValue str)
Specified by:
decodeImpl in class Decoder