>So i want all my programs just to be in one directory when i get them and
run them so i dont have any package
>com.kizna....... import com.kizna........ etc.. in the programs. Please run
WebViewer and you will understand
>more clearly what i mean.
Bytway, thats a funny requirement.. I mean, you cant get rid of import
statements.
But I can understand your wanting a single jar package. For this - its a
good idea to use optimizer programs which leave out any classes not
referenced. But if you want to do it by hand, then you can comfortably leave
out all the scanners except HTMLTagScanner (of course :) and
HTMLLinkScanner. And in the tags package, leave out all the tags except
HTMLTag (of course :) and HTMLLinkTag.
That should give you the minimal version you want.
Regards,
Somik
----- Original Message -----
From: "Sodergren, M.G." <mg...@le...>
To: <htm...@li...>
Sent: Friday, April 19, 2002 7:49 PM
Subject: [Htmlparser-user] applet based
Hello,
I was wondering if it is possible that you could help me with the following.
If you have not got time to do this i understand. I have been trying it code
this but cannot make it work and i am streesed for time to complete it.
I want my WebViewer program (attached) to be run under emacs in windows.
This will display a window where i can enter a url at the top. Once enter is
pressed i want WebViewer to work with htmlparser to extract the links of
that HTML page and return them below in the window as a result. The way in
which WebViewer works now is that it only shows the HTML page of the url
entered. So i need Webviewer to be changed in order to work with htmlparser
and i need the classes used from the html parser to be sent to me (as all of
them will not be used for just extracting links). So i want all my programs
just to be in one directory when i get them and run them so i dont have any
package com.kizna....... import com.kizna........ etc.. in the programs.
Please run WebViewer and you will understand more clearly what i mean.
Thanks for your time,
Mats
|