Java StreamTokenizer



Hi,

The StreamTokenizer is perfect for what I want to do but am wondering,
how can I make the Tokenizer recognise another escape character apart
from '\'?

Also does anyone have any idea on how to have the tokenizer parse in
white space into strings?

For example say I delimit a field with |:
Hello World|1234

I want the tokenizer to parse in "Hello World" as a string token and
"1234" as an integer.

.