Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
how to extract multi files from a jar file
posted 10 years ago
I am trying to extract some files from a jar file using
jar xf xxx.jar
I have some problems here.
1) how can I extract all the files with ending .properties? I try "jar xf xxx.jar com/aaa/bbb/*.properties", but failed.
2) how can I avoid specify the full path? for example extract all the property files in any path.
Any one can help? Thanks very much
[ March 16, 2005: Message edited by: Howie Jiang ]
It is sorta covered in the
JavaRanch Style Guide
Using a class from a Jar File
JAR or zip
Package javax.servlet, javax.servlet.http does not exist