Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 53625 invoked from network); 11 Jan 2005 15:40:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 15:40:25 -0000 Received: (qmail 44503 invoked by uid 500); 11 Jan 2005 15:40:21 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 44447 invoked by uid 500); 11 Jan 2005 15:40:20 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 44434 invoked by uid 99); 11 Jan 2005 15:40:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from imap.simdesk.com (HELO smtp.simdesk.com) (67.65.177.57) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 07:40:19 -0800 Received: (qmail 26746 invoked by uid 507); 11 Jan 2005 15:44:34 -0000 Received: from boxley@simdesk.com by smtp04 by uid 507 with qmail-scanner-1.16 ( Clear:. Processed in 0.490564 secs); 11 Jan 2005 15:44:34 -0000 Received: from boxley@simdesk.com by smtp04 by uid 504 with qmail-scanner-1.16 ( Clear:. Processed in 0.484349 secs); 11 Jan 2005 15:44:33 -0000 Received: from 65-65-189-5.ded.swbell.net (HELO ?172.16.53.49?) (65.65.189.5) by mx-one with SMTP; 11 Jan 2005 15:44:32 -0000 Message-ID: <41E3F3F3.9040507@simdesk.com> Date: Tue, 11 Jan 2005 09:42:43 -0600 From: Brian Oxley Organization: Simdesk, Inc. User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [vfs] LocalFile package-protected and final: why? References: <41E302C6.6020601@simdesk.com> <41E39E51.2070104@ops.co.at> In-Reply-To: <41E39E51.2070104@ops.co.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [A quick meta-question: is this list the right place for technical questions of this sort? I don't want to spam the uninterested.] Mario Ivankovits wrote: > Before I decide to make it public (and non final) could you please > explain in short what you try to do? I'm working to persuade my group to drop an inhouse implementation of a java.io.File-extended hierarchy and switch to VFS's FileName/FileObject instead. We have a mess; you have a clean design. Of the existing providers, local is the best fit to our file-like objects so I wanted to extend LocalFile (why is it not LocalFileObject, BTW? I'm a nit for consistency.) I was hoping to simply extend LocalFile and override the few spots that differed (such as supporting attributes). Simply as a matter of preference, I dislike final classes as it discourages reuse. I know this is not a clear-cut issue. Cheers, --binkley --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org