On Mon, 23 Jul 2001, Charles Benett wrote:

> There is internationalization stuff in Avalon which we could use. Might
> be easier.
> Charles

I18n stuff will help you in the defining the messages (user prompt, err. 
msgs, etc) or even the commands in different languages; but the code would
be relatively difficult to maintain, you'd be faced with having so many
if-else blocks. Using Lex, all you need to edit is the input files; you
can define the scanner to understand certain tokens, and then have the
appropriate Java methods to be invoked each time the tokens recognized in
the input stream.

Besides, java.io.DataInputStream's readLine() is deprecated...

Oki



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to