You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-user@jakarta.apache.org by Thomas Zillinger <Th...@gmx.at> on 2004/06/24 10:33:59 UTC
Using GlobFilenameFilter with Path+filename instead only filename
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: ThomasZillinger@gmx.at
----------------------------------------
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
---------------------------------------------------------------------
To unsubscribe, e-mail: oro-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: oro-user-help@jakarta.apache.org