wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "StringTokenizer Constructors" Watch "StringTokenizer Constructors" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60769
    
  65

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

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

Joined: Mar 16, 2001
Posts: 984

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: StringTokenizer Constructors
 
Similar Threads
StringTokenizer errors
How to get Full path of a file from <html:file> tag
What is StringTokenizer?
String's split() -- gives compilation error
Tokens