Re: [Htmlparser-user] StringExtractor from String
Brought to you by:
derrickoswald
From: Derrick O. <der...@ro...> - 2006-05-16 23:31:05
|
I believe you can get the Parser the StringExtractor is using and then use SetInputHtml() to make your string the source. Tiago Fischer <tia...@gm...> wrote: Hi all! I have a html document in a string, i want to strip html tags and so on... But, the StringExtractor only accept files and links. var "origem" is a string with a html document: try { StringExtractor temp = new StringExtractor(origem); origem = temp.extractStrings(false); } catch (org.htmlparser.util.ParserException e) { new Log("ParserException ("+e.getMessage()+")"); origem = e.getMessage(); } Any idea? Tks! []s FlycKER ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Htmlparser-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-user |