com.armatiek.infofuze.stream.html
Class HTMLCharacterEncoder

java.lang.Object
  extended by com.armatiek.infofuze.stream.html.HTMLCharacterEncoder

public class HTMLCharacterEncoder
extends java.lang.Object

Code base on Apache Tika


Constructor Summary
HTMLCharacterEncoder()
           
 
Method Summary
static java.lang.String getCharacterEncoding(java.io.InputStream stream, java.lang.String characterEncoding)
          Check for meta http-equiv tag with charset info in HTML content or otherwise detect the charset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLCharacterEncoder

public HTMLCharacterEncoder()
Method Detail

getCharacterEncoding

public static java.lang.String getCharacterEncoding(java.io.InputStream stream,
                                                    java.lang.String characterEncoding)
                                             throws java.io.IOException
Check for meta http-equiv tag with charset info in HTML content or otherwise detect the charset

Throws:
java.io.IOException