org.exoplatform.services.html.parser
Class HTMLParser
java.lang.Object
org.exoplatform.services.html.parser.HTMLParser
public final class HTMLParser
- extends java.lang.Object
- Author:
- nhuthuan
Email: nhudinhthuan@yahoo.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLParser
public HTMLParser()
clone
public static HTMLNode clone(HTMLNode node)
createDocument
public static HTMLDocument createDocument(char[] data)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public static HTMLDocument createDocument(java.lang.String text)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public static HTMLDocument createDocument(byte[] data,
java.lang.String charset)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public static HTMLDocument createDocument(java.io.InputStream input,
java.lang.String charset)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDocument
public static HTMLDocument createDocument(java.io.File file,
java.lang.String charset)
throws java.lang.Exception
- Throws:
java.lang.Exception
detect
public static java.lang.String detect(byte[] buf)
getCharset
public static java.lang.String getCharset()
Copyright © 2011 eXo Platform SAS. All Rights Reserved.