java - how to find text in jar file which is in war file? -


A special file is the way to grep (search) the text, which is * .jar and it *. Jar is * .war?

Are you doing this program from Java?

.ar files are basically .zip files, such as .jar files you can open .zip files with java.util.zipfile.

Open your .war as a zipfile, within it. Find it, open your .jar as a zip file, find your text file in it. Now you can read the text and process it on the one you want.

Does this answer your question?


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -