查看.jar​​文件的内容 [英] Viewing contents of a .jar file

查看:111
本文介绍了查看.jar​​文件的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在jar文件中查看类,方法,属性等的最简单方法是什么?
我正在寻找相当于非常有用的 Lutz Roeder .NET Reflector - for 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆