It's not a secret anymore!
The moose likes Java in General and the fly likes Search File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Search File " Watch "Search File " New topic

Search File

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
is there any method available to search file (test.txt)in a file folder and its subdirectories and return the directory???.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
I think you need to look at the JavaDocs for - the class that Java uses for examining directories and files.
I agree. Here's the link:
subject: Search File
It's not a secret anymore!