querying contents of jar file from webstart
in a webstart app I would like to query the contents of one of the jars that webstart is running from. in specific I want find all files in the jar with suffix ".cfg". I know I can do this with the JarFile class, but JarFile requires the path to the JarFile which is unclear if thats possible from webstart. I know also I can do a getResource via a Class/ClassLoader but as far as I can tell that requires a specific filename - not a catchall like *.cfg. I also tried making my own class loader (with system loader as parent) and querying the getLibrary method with the name of my jar but it didnt work. Any notions? Thanks for your help - Mark
mgibson@fruitfly.org

