Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching For Files Using Filter

 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have example code of searching for files with specific string as a prefix or extension.
Thanks,
Rob
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How's this?

Nowadays regular expressions could support the kind of globals and wildcards users are accustomed to at the command line, and lots of other cool things.
[ July 10, 2003: Message edited by: Stan James ]
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect, thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic