File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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!