Re: [Htmlparser-developer] help
Brought to you by:
derrickoswald
From: Derrick O. <Der...@ro...> - 2003-09-03 11:05:38
|
The LineCount property indicates the line being processed and will increase from 1 when lines are read as nodes are retrieved. It's not a count of the number of lines in a file or page. That should be available after reading all nodes. Derrick zheng zhen wrote: >I'm a beginner of htmlparser developer,It will be >appreciate if sb. can give me some hints.Here is the >code: >NodeReader nodeR = new NodeReader(new FileReader(new >File("C:/temp/b.html")),1000); > >System.out.println("nodeR.getLineCount():"+nodeR.getLineCount()); > > >problem is why nodeR.getLineCount() always 1. > >thans again > >zz > > > |