如何使用java从Zip文件中提取jar

时间:2018-03-27 15:10:10

标签: java jar zip

文件结构

Zip file-> web-Inf -> *.jar 

如何从该路径中提取jar?

我正在使用asm-tree classReader从jar类中提取方法。 如果我正确地提到了路径,我可以阅读jar。

1 个答案:

答案 0 :(得分:1)

ZipFile类可用于处理zip文件。具体来说,方法select a.orgId as orgId, a.orgStatus as orgStatus, count(b.eventid) as eventCount from ( select a.orgId as orgId, a.orgStatus as orgStatus, a.startedTime as startedTime, ifnull(b.startedTime, '2030-01-01 00:00:00') as endedTime from A as a left join A as b on a.orgId = b.orgId and a.orgStatus = b.orgStatus - 1 order by orgId, orgStatus ) as a left join B as b on a.orgId = b.orgId and b.createdTime between a.startedTime and a.endedTime group by orgId, orgStatus order by orgId, orgStatus; 返回Zip文件中所有条目的列表。