How to extract a folder from JAR

后端 未结 3 1828
天命终不由人
天命终不由人 2021-01-18 03:56

I need to copy a folder, packed in a Jar on runtime. I want to do it by calling a function in a class which is also contained in the same folder.

I\'ve tried using <

3条回答
  •  迷失自我
    2021-01-18 04:36

    Jar is simple ZIP file. You can use java.util.zip.* package to decompress files.

提交回复
热议问题