473,505 Members | 16,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

StringTokenizer 'legacy class'

8 New Member
The API specification for the Java 2 Platform Standard Edition 5.0 states that the class StringTokenizer is 'a legacy class.' What does this mean?

a.m.
May 17 '07 #1
6 2445
JosAH
11,448 Recognized Expert MVP
The API specification for the Java 2 Platform Standard Edition 5.0 states that the class StringTokenizer is 'a legacy class.' What does this mean?

a.m.
The StringTokenizer class was already there in the old Java 1.0 version. Later,
better tokenizers have been added thanks to the regular expression processing
classes. The class is next to useless and is only retained in the core library
for backward compatibility reasons. It's better not use it because before you
know they stamp this class 'depracated' which 'officially' means that future
versions of Java won't support it anymore.

kind regards,

Jos
May 17 '07 #2
emekadavid
46 New Member
they'll rather deprecate the class than support its use.
May 17 '07 #3
dmjpro
2,476 Top Contributor
remember ...... in JAVA classes r not deprecated but the methods r deprecated and those methods r introduced in new Class.

kind regards.
dmjpro.
May 18 '07 #4
prometheuzz
197 Recognized Expert New Member
remember ...... in JAVA classes r not deprecated but the methods r deprecated and those methods r introduced in new Class.

kind regards.
dmjpro.
That is not true: classes can be (and are*) deprecated.

* http://java.sun.com/j2se/1.5.0/docs/...ist.html#class
May 18 '07 #5
dmjpro
2,476 Top Contributor
a good thing i came to know today..
thanxxx.
May 18 '07 #6
prometheuzz
197 Recognized Expert New Member
a good thing i came to know today..
thanxxx.
No problem.
; )

---
May 18 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3791
by: - Steve - | last post by:
It doesn't appear that Visual Studio 2003 has the StringTokenizer class for a J# project. Am I missing something? Steve
3
1754
by: masood.iqbal | last post by:
In this day and age, you never say no to any work that is thrown at you ---- so when I was offered this short-term contract to convert legacy C code to C++, I did not say no. Personally I believed...
3
3995
by: Sai Kit Tong | last post by:
Hi, I am developing a new application running on Windows platform that needs to interface with existing legacy code - written in basic C / C++. I am trying to evaluate Java vs C#...
3
2350
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached...
5
7996
by: Carlitos | last post by:
Hi there, What would be the counterpart for Java's StringTokenizer class in .NET? In fact, does anybody know a good web site that gives this kind of information, like a Java-.NET/.NET-Java...
2
1628
by: Mark Olbert | last post by:
First off, the sympathy is for all you poor buggers out there who have to figure out how to marry Managed Extensions for C++ onto your legacy code. My condolences; my brief experience with the...
9
2534
by: Roy Chastain | last post by:
I have a legacy structure that appears on a communications line that has 16 bit, 8 bit, 2 bit and 1 bit fields in it. The best I have been able to do with this was to use FieldOffset for the 8 and...
1
6605
Ganon11
by: Ganon11 | last post by:
Hey, Last year I was working in Java, and one of the predefined classes we used was the stringTokenizer.java class. I wanted to use this in C++, but couldn't find a predefined class. So I made...
0
1310
by: SvenV | last post by:
Hello, I'm quite new to WCF and want to use it in a project that I'm currently working on. I need some advice though. The legacy application that I currently have created an xml file with data....
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.