Hi Gary,
Aren't you concerned that your giant-pile-of-code will behave incorrectly
due to the fact that a File embedded in a Zip can't implement most of the
File API properly? For anything but the most trivial pile I'd be pretty
worried about unintended, or even damaging, behavior.
On Thu, 13
PROTECTED]
Sent: Friday, November 14, 2003 07:27
To: Jakarta Commons Developers List
Subject: RE: [vsf] WAS: [general] Zip file proxy?
Hi Gary,
Aren't you concerned that your giant-pile-of-code will behave incorrectly
due to the fact that a File embedded in a Zip can't implement most
. Jonker [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 07:27
To: Jakarta Commons Developers List
Subject: RE: [vsf] WAS: [general] Zip file proxy?
Hi Gary,
Aren't you concerned that your giant-pile-of-code will behave incorrectly
due to the fact that a File embedded in a Zip can't
PROTECTED]
Sent: Thursday, November 13, 2003 13:39
To: Jakarta Commons Developers List
Subject: Re: [vsf] WAS: [general] Zip file proxy?
Subclassing io.File makes me rather uneasy. Most of its methods just
doesn't make sense for virtual files like those inside an archive.
Even basic stuff like getPath
I've done exactly this in Seedling (a HiveMind-ish application platform).
My first attemp using java.io was exceptionally painful. It's currently
implemented in via an abstraction layer called ConfigTree, from which
you can get URLs, from which you can open a stream. Implementations of
the
Hello,
Does anyone know of a doo-dad in Commons or somewhere that would allow me to
use a .zip file (and other compressed format) as java.io.File /directory/.
What I have found so far (can't recall now) only works if your code uses a
whole framework of proxies/wrappers. Ideally, such a subclass
tasks as well. :)
-Original Message-
From: Gary Gregory [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:49 PM
To: 'Jakarta Commons Developers List'
Subject: [general] Zip file proxy?
Hello,
Does anyone know of a doo-dad in Commons or somewhere that would allow me to
use
, 2003 10:53
To: 'Jakarta Commons Developers List'
Subject: RE: [general] Zip file proxy?
Try commons-vfs
under the sandbox. You can't treat it as a java.io.File, but there
is a seperate FileObject which abstractly represents a file from any
given file system. Some of the supported
(which they've done), so there's no confusion, and less
potential for error.
-Original Message-
From: Gary Gregory [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 2:20 PM
To: 'Jakarta Commons Developers List'
Subject: [vsf] WAS: [general] Zip file proxy?
Ah, yes, I do recall