Using GlobFilenameFilter with Path+filename instead only filename
"Thomas Zillinger" <[email protected]> Thu, 24 Jun 2004 10:33:59 +0200 (MEST)
| Newsgroups | gmane.comp.jakarta.oro.user |
|---|---|
| Message-ID | <[email protected]> |
Hi there!
I understand that by design it seems that GlobFilenameFilter only evaluates
the pathname.getName() part of a file (see RegexFilenameFilter). I was
wondering if it is easy to write a 'GlobFileFilter' which evaluates the
whole path of a file so I could pass it a pattern like:
myimages/lang_*/*.gif
and it correctly accepts a path like:
D:/mywebapp/myimages/lang_en/test.gif
Regards
Tom
--
----------------------------------------
Thomas Zillinger
student of telekommunication and
computer science (Telematics)
at the Technical University Graz,
Austria
email: [email protected]
----------------------------------------
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info