This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Fwd: File objects, path object, filepath objects, strings
OK, looks like I was wrong about path or filepath objects being able
to step in for java.io.File objects. So now I definitely don't know
what filepath and path objects are for.
---------- Forwarded message ----------
From: Ethan Herdrick <info@reatlas.com>
Date: Wed, Apr 30, 2008 at 12:54 AM
Subject: File objects, path object, filepath objects, strings
To: kawa@sourceware.org
There are:
1) Java File objects,
2) Kawa filepath objects, which are said to be wrappers around Java
File objects
3) Kawa path objects, which are... ?
4) strings which can be paths.
When should I use each type? What is the purpose of filepath and path
objects? It appears that the path objects are accepted by Java when a
java.io.File is called for, which is very handy. It appears that
functions that take filepath and path objects generally take strings,
too.. Is this true?
Also, does anyone have anything to say about my last posting, found
here: http://www.nabble.com/path-file-not-working-properly--to16888484.html
?
Thanks!
-Ethan
--
Ethan Herdrick
www.biographicon.com - Everyone's biography.