🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11142

Beginner : directories and files

#11142
From: Jean-Fran�ois Leroux
Date: Sun, 11 Jul 1999 00:00
17 lines
968 bytes
Hi,
I have several question nested in one :
How can I get all the files of a given directory, providing a filter ? I
tried FilenameFilter, but JBuilder (2.01) stops with error messages :
/* **********
...
FilenameFilter filtre;
filtre.accept()             -> error (says methods doesn't exist)
OR
filtre.accept("*.txt")   -> error (idem)
********** */

Any idea, tip, code, welcome !
Thanks in advance!

--
jfleroux@club-internet.fr
Technical Details
Message-ID: <7mb1bl$p2k9@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fa45acef665a2032,start
X-Google-Attributes: gid111d45,public
From: "Jean-Fran�ois Leroux" <jfleroux@club-internet.fr>
Subject: Beginner : directories and files
Date: 1999/07/11
Message-ID: <7mb1bl$p2k9@forums.borland.com>
X-Deja-AN: 499871309
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing