RE: [vsf] WAS: [general] Zip file proxy?

2003-11-14 Thread Todd V. Jonker
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

RE: [vsf] WAS: [general] Zip file proxy?

2003-11-14 Thread Gary Gregory
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

Re: [vsf] WAS: [general] Zip file proxy?

2003-11-14 Thread __matthewHawthorne
. 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

Re: [vsf] WAS: [general] Zip file proxy?

2003-11-14 Thread Anthony Eden
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

RE: [vsf] WAS: [general] Zip file proxy?

2003-11-14 Thread Todd V. Jonker
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

[general] Zip file proxy?

2003-11-13 Thread Gary Gregory
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

RE: [general] Zip file proxy?

2003-11-13 Thread Inger, Matthew
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

[vsf] WAS: [general] Zip file proxy?

2003-11-13 Thread Gary Gregory
, 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

RE: [vsf] WAS: [general] Zip file proxy?

2003-11-13 Thread Inger, Matthew
(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