From: Dom Lachowicz <cinamod@ho...> - 2000-10-29 00:59:43
Yeah, wv is a pretty large beast, but so is SO. Transforming wv into Java
would be a great project, but it'd be pretty formidable. It'd require OLE2
java classes for starters, though some sick puppy probably already has
something like that coded already :-)
Since wv is known to run everywhere Java does (and then some actually) and
with the rise of the internet and all, you might want to do something like
1) Set up a cgi/jsp or equivalent that acts as a pipe to wv or compile wv on
2) Create your own output file format or use an existing one
3) Use existing/create new Java classes to load the resulting document
For example, wv currently exports to HTML4. There are probably some decent
Java classes out there (GPL'd) that render html (Jazilla for example). Or
you can interpret RTF, LaTeX or AbiWord or whatever you'd like, maybe using
Antlr (Java "equivalent" of bison/lex/yacc). This would be a *lot* simpler
that coding a clone of wv, whose major merit would be that it is in Java (I
can't imagine a Java replacement for the FIB structure for example, at least
with get/set methods and private variables. Imagine the constructor for this
class :-). But to each his own.
I'd suggest using java's merits to build your XP swing application (which
sounds really cool, btw - it'll definitely get mentioned on wv's site), but
I'd use the existing facilities at hand (internet, the fact that wv already
exists) to my advantage. Java has lots of nice URL connection classes that I
use every day at work, so maybe you'd like to use them. Just a suggestion.
Good luck with your project. Please keep me posted of your progress and feel
free to ask any time for help.
Dom (wv Author/Maintainer)
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
Get latest updates about Open Source Projects, Conferences and News.