File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Deprecated methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Deprecated methods" Watch "Deprecated methods" New topic
Author

Deprecated methods

Vivian Richards
Greenhorn

Joined: Jun 19, 2001
Posts: 7
I am trying to change the deprecated methods. Can anyone please give me some guidance on how to do it or point me to some place where I can read about it ?
Rick Fortier
Ranch Hand

Joined: Jun 04, 2001
Posts: 147
Originally posted by Vivian Richards:
I am trying to change the deprecated methods. Can anyone please give me some guidance on how to do it or point me to some place where I can read about it ?

run the compiler: java -deprecation *.java
oops, that is javac -deprecation *.java
This will list what is deprecated. Then go to the API and read the comments in the old method and see if they recommend any replacement.

[This message has been edited by Rick Fortier (edited June 26, 2001).]
PierreArnaud Galiana
Greenhorn

Joined: Jun 13, 2001
Posts: 15
it may work better with javac ;)
 
 
subject: Deprecated methods
 
Threads others viewed
Deprecated API
what is deprecated?
deprecated method
JDK1.2 Vs JDK1.3
Inserting Java Date in MySQL as Datetime
developer file tools