如何将文件添加到Jar文件中? [英] How can I add files to a Jar file?
本文介绍了如何将文件添加到Jar文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将之前从其他文件(已经完成)中提取的一系列文件添加到jar中。这些文件将覆盖JAR中的文件。最有效的方法是什么?
我需要快速。
谢谢!
I want to add a series of files previously extracted from other files(already done) to a jar. These files will be overwriting files inside the JAR. What is the most efficient way to do it? I need it to be fast. Thank you!
推荐答案
JAR文件是一个ZIP文件,请记住。
A JAR file is a ZIP file, remember.
只需使用一些ZIP库。
Just use some ZIP library.
这篇关于如何将文件添加到Jar文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文