> Yes... but that's not quite the best way.

Signature
LocalHost Creations
http://www.localhost.st
>> Yes... but that's not quite the best way.
...
> Well, it was an example pointing out the getCanonicalPath() method.
Examples are good, especially
since they can produce
a) confirmation that it is the best way, ..or
>..What
> would you consider as better way?
b) ..something better.
Like, probably this. ;-)
<http://groups.google.com/groups?th=b95d40398ed18a81#link6>

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Alexander Mueller - 30 Mar 2004 14:06 GMT
> Like, probably this. ;-)
> <http://groups.google.com/groups?th=b95d40398ed18a81#link6>
It fully depends on the context where the code is used. This example
creates two (or more) objects with both requiring time and memory which
might not be necessary in this case.
Alexander

Signature
LocalHost Creations
http://www.localhost.st