A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
What is canonicalpath?
Mansi Shah
Greenhorn
Joined: Nov 17, 2000
Posts: 2
posted
Nov 17, 2000 15:44:00
0
Hello friends.
what is the difference between Canonicalpath and absolutePATH?
Can anybody help?
Mansi
Michael Ernest
High Plains Drifter
Sheriff
Joined: Oct 25, 2000
Posts: 7292
I like...
posted
Nov 17, 2000 16:01:00
0
The result of asking for a canonical path should of course be the absolute path. getCanonicalPath() is used to return the absolute path when only a relative path to the object is known.
------------------
Michael Ernest, co-author of:
The Complete Java 2 Certification Study Guide
[This message has been edited by Michael Ernest (edited November 17, 2000).]
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: What is canonicalpath?
Similar Threads
File question from JQPlus
file IO 'path' terms?
files problem - absolute/canonical
what are the differences in this .
getCanonicalPath & getAbsolutepath
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter