This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 12761
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
Similar Threads
I have a question on User Interface!
Unable to execute class file in command prompt.
how can i know the JVM is already installed on my computer ?
WA #1.....word association
Eclipse - seach multiple files