查看 .jar 文件的内容 [英] Viewing contents of a .jar file
本文介绍了查看 .jar 文件的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
查看 jar 文件中的类、方法、属性等的最简单方法是什么?我正在寻找与非常有用的 Lutz Roeder .NET Reflector - 用于 Java
What would be the easiest way to view classes, methods, properties, etc. inside a jar file? I'm looking for something equivalent to the very useful Lutz Roeder .NET Reflector - for Java
推荐答案
使用 JDK,jar -tf
将列出 jar 中的文件.javap
将从特定的类文件中为您提供更多详细信息.
Using the JDK, jar -tf
will list the files in the jar. javap
will give you more details from a particular class file.
这篇关于查看 .jar 文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文