[Htmlparser-user] Construct a "Parser" instant from the original bytes
Brought to you by:
derrickoswald
From: 丛林 <con...@gm...> - 2011-05-01 02:31:23
|
Hi, I am a freshman in htmlparser area. My problem is: How can I construct a "Parser" instant from the original bytes? I have to construct a new "Parser" in this way because the original bytes is already read from a file to the memory. For example: File f = new File("/home/test.html"); bytes[] b = bufferstreamreadfrom(f); Parser p = new Parser(p); // how can i construct ? Thanks for any suggestion :-) Best Wishes, -LIn |