aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes What is canonicalpath? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "What is canonicalpath?" Watch "What is canonicalpath?" New topic
Author

What is canonicalpath?

Mansi Shah
Greenhorn

Joined: Nov 17, 2000
Posts: 2
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

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:


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is canonicalpath?