A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Programmer Certification (SCJP/OCPJP)
What is canonicalpath?
Joined: Nov 17, 2000
Nov 17, 2000 15:44:00
what is the difference between Canonicalpath and absolutePATH?
Can anybody help?
High Plains Drifter
Joined: Oct 25, 2000
Nov 17, 2000 16:01:00
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
It is sorta covered in the
JavaRanch Style Guide
subject: What is canonicalpath?
file IO 'path' terms?
getCanonicalPath & getAbsolutepath
what are the differences in this .
File question from JQPlus
files problem - absolute/canonical
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014