Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 80437 invoked from network); 13 Feb 2006 13:42:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 13:42:32 -0000 Received: (qmail 50858 invoked by uid 500); 13 Feb 2006 13:42:27 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 50840 invoked by uid 500); 13 Feb 2006 13:42:27 -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 50828 invoked by uid 99); 13 Feb 2006 13:42:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 05:42:27 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS_SOCKS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.218.79.17] (HELO web80301.mail.yahoo.com) (66.218.79.17) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Feb 2006 05:42:26 -0800 Received: (qmail 58451 invoked by uid 60001); 13 Feb 2006 13:42:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EHvxtlhFck6jGxVQPIF8C7nByFnAK7VY4M+bLm+ZZuIoejDEutdEp7OLp1E4guiE9bZdhvxNbH8+zewume8vwvBvEUfBTN2ITUWt/YA/W37tgjIKFeP4bFVPQXFJNFLVvgyEsN3FomQZk+3lwIryytURSKhJFFAL6dAnMTRZzf0= ; Message-ID: <20060213134205.58449.qmail@web80301.mail.yahoo.com> Received: from [68.89.167.135] by web80301.mail.yahoo.com via HTTP; Mon, 13 Feb 2006 05:42:05 PST Date: Mon, 13 Feb 2006 05:42:05 -0800 (PST) From: Mark A Fortner Subject: Re: [vfs] FileFilters Question To: Jakarta Commons Users List In-Reply-To: <43F07381.5050004@ops.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mario, Could you post some example of how to create and use a filefilter, or put a code sample on the wiki? Mark --- Mario Ivankovits wrote: > Hi! > > However, I can't seem to figure out what creates > FileSelectInfo > > objects. The only implementation of this class is > a private class -- > > DefaultFileSelectorInfo. Is there some reason > that FileSelectInfo > > objects are used instead of FileObjects > themselves? > The DefaultFileSelectorInfo will be created by > AbstractFileObject.findFiles once for the whole > traversing process. > It is a mutable object which will be reused during > the traverse process. > > Well, the idea behind this interface is to provide > additional data - as > you might see you can always access the base folder, > the file and its depth. > > --- > Mario > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > commons-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org