Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] Searching files in a classpath


  • From: cswanson@xxxxxxxxxx (Carl Swanson)
  • Subject: [Advanced-java] Searching files in a classpath
  • Date: Thu, 21 Feb 2002 12:26:38 -0600

I have some files in my classpath I want to read from,
but I don't know the names, how many, or even if they are there.

Is there any Java mechanism to search the class path
to find them? Like all the files under a certain directory/package name?
I know I can just open the dir handle and read them that way, but
I thought there might be a better way.

Thanks,

Carl
cswanson@xxxxxxxxxx