how to traverse a jar package?# Java - 爪哇娇娃
g*g
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?
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?