wood burning stoves
The moose likes Beginning Java and the fly likes StreamTokenizer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "StreamTokenizer" Watch "StreamTokenizer" New topic


Hagaya Hatake

Joined: Feb 01, 2006
Posts: 5
I'm used to StringTokenizer but wanted to know how to use StreamTokenizer.
I know that I must start like this:

but I don't know how to continue. I want space "s" and space to be delimiters but how do I do that??? Is it possible???
In StringTokenizer if I want to make "s" be a delimiter I will do this:

where the first s is the fileName.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
this link may help you.

I agree. Here's the link: http://aspose.com/file-tools
subject: StreamTokenizer
jQuery in Action, 3rd edition