由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - how to traverse a jar package?
相关主题
One question about Java Programminghow to set CLASSPATH under Linux??
请教一个SOAP的问题,多谢Run Servlet with Tomcat
Complaint about Java class package[转载] Sun One Directory Server安装求教
问一个gradle的基础问题How to use javascript access file system
HTTP Status 404 The requested resource (/abc/index.jsp) is not available.急问:装了JSDK2.0,servlet engine 不 运 行 ?
找不到Word.* 和 Project.*Question about Tomcat
Re: Do anyone know a good websit containing the source code of Java为何运行JAVA出现这个错误?
jar 的问题, 路径有问题? 大家帮忙看看是啥毛病?有人用eclipse吗?
相关话题的讨论汇总
话题: jar话题: traverse话题: package
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
I need to traverse a jar package and process its files,
I can use Class.getResourceAsStream(path) to read the source,
but how to determine if a file is directory since it's now a stream?
h**j
发帖数: 2033
2
could you use classes in java.util.jar?
see JarEntry.isDirectory

【在 g*****g 的大作中提到】
: I need to traverse a jar package and process its files,
: I can use Class.getResourceAsStream(path) to read the source,
: but how to determine if a file is directory since it's now a stream?

1 (共1页)
进入Java版参与讨论
相关主题
有人用eclipse吗?HTTP Status 404 The requested resource (/abc/index.jsp) is not available.
java directory?找不到Word.* 和 Project.*
[转载] Re: package usage in javaRe: Do anyone know a good websit containing the source code of Java
Re: 有用netbeans的吗?jar 的问题, 路径有问题? 大家帮忙看看是啥毛病?
One question about Java Programminghow to set CLASSPATH under Linux??
请教一个SOAP的问题,多谢Run Servlet with Tomcat
Complaint about Java class package[转载] Sun One Directory Server安装求教
问一个gradle的基础问题How to use javascript access file system
相关话题的讨论汇总
话题: jar话题: traverse话题: package