aspose file tools*
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 Spring in Action this week in the Spring 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: 61434
    
  67

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: 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.
 
Consider Paul's rocket mass heater.
 
subject: StringTokenizer Constructors