This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Searching For Files Using Filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Searching For Files Using Filter" Watch "Searching For Files Using Filter" New topic
Author

Searching For Files Using Filter

Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
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

Joined: Jan 29, 2003
Posts: 8791
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 ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
Perfect, thanks!
 
 
subject: Searching For Files Using Filter
 
Similar Threads
WA #1.....word association
How can i index power point files
tagdir
javac question from book unclear
Classpath and Javac .......