File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes StringTokenizer Constructors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "StringTokenizer Constructors" Watch "StringTokenizer Constructors" New topic

StringTokenizer Constructors

Chris Cairns
Ranch Hand

Joined: Jan 31, 2003
Posts: 48
Could someone explain to me what the conceptual difference is between the constructors of StringTokenizer? In particular, passing boolean false or true. Thanks!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

Did you try reading the javadoc?
[ April 08, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

One of will return the delimiters as tokens. That is the one which accepts a boolean as the second parameter, and it would have to be "true".

Please ignore post, I have no idea what I am talking about.
I agree. Here's the link:
subject: StringTokenizer Constructors
It's not a secret anymore!