-
how to list resources in a package?
I have a set of files (a.txt, b.txt, c.txt, ....) in a java package along with code. I can access one of these using the getResourceAsStream method. However, I want to get a list of these resources, using a regular expression to find all resources that satisfy *.txt
This needs to work whether the .class and *.txt files are on disk or in a jar file.
Seems like something the reflection api or the Package api should do, but I can't find a way.
Suggestions??
Thanks
Similar Threads
-
By Anonymous in forum Open Source
Replies: 0
Last Post: 06-08-2002, 07:51 PM
-
By Anonymous in forum Open Source
Replies: 0
Last Post: 04-24-2002, 01:20 AM
-
By Anonymous in forum XML
Replies: 0
Last Post: 01-30-2002, 02:33 AM
-
By Larry Rebich in forum vb.announcements
Replies: 1
Last Post: 06-28-2001, 01:22 PM
-
Replies: 5
Last Post: 03-22-2001, 08:59 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|