Redian新闻
>
新手问一个:如何找.jar文件里都有什么class?
avatar
新手问一个:如何找.jar文件里都有什么class?# Java - 爪哇娇娃
I*y
1
目前想把一个.jar文件内嵌到一个HTML页面,可是我不知道怎么找这个JAR文件里有什么
CLASS,所以想请教一下如何找出里面都有啥class(es)??
thanks
avatar
B*h
2
winzip

什么

【在 I*****y 的大作中提到】
: 目前想把一个.jar文件内嵌到一个HTML页面,可是我不知道怎么找这个JAR文件里有什么
: CLASS,所以想请教一下如何找出里面都有啥class(es)??
: thanks

avatar
I*y
3
能否说的详细一点? WINRAR行嘛?

【在 B*********h 的大作中提到】
: winzip
:
: 什么

avatar
B*h
4
ft...当然可以。

【在 I*****y 的大作中提到】
: 能否说的详细一点? WINRAR行嘛?
avatar
I*y
5
怎么查找CLASS呢?
见笑了,谢谢大侠。

【在 B*********h 的大作中提到】
: ft...当然可以。
avatar
B*h
6
打开了你就看到了,一般的jar都能看到。

【在 I*****y 的大作中提到】
: 怎么查找CLASS呢?
: 见笑了,谢谢大侠。

avatar
o*g
7
jar怎么嵌到html里面?

什么

【在 I*****y 的大作中提到】
: 目前想把一个.jar文件内嵌到一个HTML页面,可是我不知道怎么找这个JAR文件里有什么
: CLASS,所以想请教一下如何找出里面都有啥class(es)??
: thanks

avatar
q*g
8
他的意思是链接吧

【在 o***g 的大作中提到】
: jar怎么嵌到html里面?
:
: 什么

avatar
o*g
9
就是做个网页看一个jar里面都有什么?
自己有一个jar要看,还是要写程序看N多个阿?

【在 q*****g 的大作中提到】
: 他的意思是链接吧
avatar
b*y
10
programmingly, I suggest you take a look at the java utility package, like
these two:
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
or you can check out the api from ANT:
import org.apache.tools.ant.taskdefs.Jar;
if you want to present a list of classes on html page, you have to think of
implementing the functionality in a servlet.
google and check out their usage. Good luck.
avatar
k*r
11
i used a jar explorer tool before. It's a GUI tool
that shows all classes in a file explorer fashion

什么

【在 I*****y 的大作中提到】
: 目前想把一个.jar文件内嵌到一个HTML页面,可是我不知道怎么找这个JAR文件里有什么
: CLASS,所以想请教一下如何找出里面都有啥class(es)??
: thanks

avatar
m*t
12
Or Runtime.exec("jar -tvf " + filepath) then
redirect the output to http output. ;-)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。