aspose file tools*
The moose likes Beginning Java and the fly likes Method version query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Method version query" Watch "Method version query" New topic
Author

Method version query

Nee Kat
Ranch Hand

Joined: Jan 27, 2004
Posts: 37
Where can I check information for a particular method that it was incorporated in which version of java.

e.g

replaceAll (Version 1.4)

toLowerCase (Version 1.1)


I am looking for regionMatcher

I do have Overview(Java 2 platform SE v 1.4.2) but it does not mention about regionMatcher
Thanks
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

In the JavaDocs for a particular version of the JDK. If the methods have been properly documented (which you'd hope they were be Sun's own engineers) there should be a @since tag.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Nee Kat
Ranch Hand

Joined: Jan 27, 2004
Posts: 37
In certain methods there is no @since tag. regionMatcher is one of those. What does that signify?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
If a method has no since version listed then it should mean it was added when the class was added. For String that's :

Since:
JDK1.0
Nee Kat
Ranch Hand

Joined: Jan 27, 2004
Posts: 37
Thanks alot!
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
To confirm this, you could look at the API documentation for previous versions.

Layne


Java API Documentation
The Java Tutorial
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Unfortunately, the link I just gave doesn't list the JavaDocs back that far. (I guess I should look closer before I blindly post a link.) However, it looks like Sun maintains an archive where you can download previous versions (and the appropriate documentation).

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Method version query