org.test4j.tools.cpdetector
类 JChardetFacade

java.lang.Object
  继承者 org.test4j.tools.cpdetector.AbstractCodepageDetector
      继承者 org.test4j.tools.cpdetector.JChardetFacade
所有已实现的接口:
NsICharsetDetectionObserver, Comparable<ICodepageDetector>, ICodepageDetector

public class JChardetFacade
extends AbstractCodepageDetector
implements NsICharsetDetectionObserver


方法摘要
 Charset detectCodepage(InputStream in, int length)
           
static JChardetFacade getInstance()
           
 void notify(String charset)
           
 void reset()
           
 
从类 org.test4j.tools.cpdetector.AbstractCodepageDetector 继承的方法
compareTo, detectCodepage, open
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getInstance

public static JChardetFacade getInstance()

detectCodepage

public Charset detectCodepage(InputStream in,
                              int length)
                       throws IOException
指定者:
接口 ICodepageDetector 中的 detectCodepage
抛出:
IOException

notify

public void notify(String charset)
指定者:
接口 NsICharsetDetectionObserver 中的 notify

reset

public void reset()


Copyright © 2013. All rights reserved.