org.test4j.tools.cpdetector
类 CodepageDetectorProxy

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

public class CodepageDetectorProxy
extends AbstractCodepageDetector


构造方法摘要
CodepageDetectorProxy()
           
 
方法摘要
 boolean add(ICodepageDetector detector)
           
 Charset detectCodepage(InputStream in, int length)
           
 Charset detectCodepage(URL url)
           
static CodepageDetectorProxy getInstance()
           
 String toString()
           
 
从类 org.test4j.tools.cpdetector.AbstractCodepageDetector 继承的方法
compareTo, open
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

CodepageDetectorProxy

public CodepageDetectorProxy()
方法详细信息

getInstance

public static CodepageDetectorProxy getInstance()

add

public boolean add(ICodepageDetector detector)

detectCodepage

public Charset detectCodepage(URL url)
                       throws IOException
指定者:
接口 ICodepageDetector 中的 detectCodepage
覆盖:
AbstractCodepageDetector 中的 detectCodepage
抛出:
IOException

detectCodepage

public Charset detectCodepage(InputStream in,
                              int length)
                       throws IOException,
                              IllegalArgumentException
抛出:
IOException
IllegalArgumentException

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All rights reserved.