Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 79157 invoked from network); 3 Jun 2005 12:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2005 12:05:30 -0000 Received: (qmail 7819 invoked by uid 500); 3 Jun 2005 12:05:23 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 7751 invoked by uid 500); 3 Jun 2005 12:05:22 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 7710 invoked by uid 99); 3 Jun 2005 12:05:22 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mario@ops.co.at designates 194.152.182.4 as permitted sender) Received: from ops004.ops.co.at (HELO smtp.ops.co.at) (194.152.182.4) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Jun 2005 05:05:20 -0700 Received: by smtp.ops.co.at (Postfix, from userid 65534) id 4C2DA23C0AC; Fri, 3 Jun 2005 14:05:09 +0200 (CEST) Received: from [172.27.1.102] (lints1.int.ops.co.at [172.27.1.102]) by smtp.ops.co.at (Postfix) with ESMTP id 1048923C0AB for ; Fri, 3 Jun 2005 14:05:05 +0200 (CEST) Message-ID: <42A04771.5040104@ops.co.at> Date: Fri, 03 Jun 2005 14:05:05 +0200 From: Mario Ivankovits User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [VFS] VFS.getManager().getFilesCache() - exists() vs findFiles() References: <20050518225313.30303.qmail@web31512.mail.mud.yahoo.com> <428C2457.9090504@ops.co.at> <428C8D71.3080008@ascii27.net> <428CC1C4.80206@ops.co.at> <429DE963.1050706@sophia.inria.fr> <429DF548.8040706@ops.co.at> <429ED24B.4050800@sophia.inria.fr> <429EE996.5070409@ops.co.at> <429F1F2D.1040504@sophia.inria.fr> <42A00594.3080505@ops.co.at> <42A03C76.9070806@sophia.inria.fr> In-Reply-To: <42A03C76.9070806@sophia.inria.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on smtp.ops.co.at X-Spam-Level: X-Spam-Status: No, hits=-16.4 required=7.0 tests=AWL,BAYES_00,IMPRONONCABLE_1, LOCAL_WHITE_RECV_TS1,MY_FNY_WWW,RATWR10_MESSID,SARE_HTML_URI_ATWWW, SARE_TOCC_USER autolearn=ham version=2.64 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Philippe Poulard wrote: > these attributes are tightly coupled to this scheme > so if you have "xmldb:provider://..." somewhere, you also have > attribute settings beside > thus, when you make the switch from xmldb to -say- ftp, this includes > to clean attributes becoming irrelevant Is it possible to separate those attributes into * filesystem attributes * file attributes ? I ask as e.g. the "cluster" sounds more like a configuration per filesystem instance. VFS currently supports such filesystem attributes and one thing we can do here is to register a virtual scheme to a set of filesystem attributes: say: xmldbRaweb2004:xyl://user:pwd@www.foo.com/path/to/file.xml would point to the scheme "xmldb" with the desired filesystem attributes attached. For the "file attributes" I will take some time to think about them. What if we create a new method "FileObject.createFile(Map attributes)"? That way there is no need to change the contract of the IMAGINARY file type and it makes clear that if you would like to create a new file with special attributes you have to call that method. Ciao, Mario --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org