Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个将迭代 jar 文件并提供该 jar 文件的类的 java 应用程序。
我搜索了很多,但没有得到足够的信息。我想要能够打开 jar 文件并能够迭代该 jar 的 java 代码。
请参阅:java.util.jar.JarFile.entries()
http://docs.oracle.com/javase/6/docs/api/java/util/jar/JarFile.html#entries%28%29