Re: [Htmlparser-user] help
Brought to you by:
derrickoswald
From: Derrick O. <Der...@Ro...> - 2003-10-26 14:07:47
|
vihang, The constructor you mention tries first as a URL and then if that fails it tries as a file on the local disk, so new Parser ("d:\\myfile.html", new DefaultParserFeedback()) will work. I see you are using an old version (that uses DefaultHTMLParserFeedback). Try upgrading. Derrick vihang wrote: >I am usiing html parser to parse the files. However the parser accepts the >files only that ones that are on the server ie online. I need to parse some >files that are on disk . Can somebody tell me how to parse the files that >are on disk. The parser object aceepts the input of the form .. > >Parser parser = new Parser("http://www.yahoo.com",new >DefaultHTMLParserFeedback()); > >i want the first argument to be a location on the disk , but the parser wont >work. Can anybody help ?? > >- Vihang > > > |