-2

I have something like this:

File.txt/directory/directory/Main.java

and all of it is packed in a zip.

What is the correct path to File.txt in Main.java?

Jeremy W
  • 1,889
  • 6
  • 29
  • 37

1 Answers1

0

The short answer is that you cannot do this: there is (currently) no approach that allows you to point to a file inside a zip file. What you can do is read the zip file as a stream and then take the file that you need. For that, I would refer you to Read Content from Files which are inside Zip file.

Community
  • 1
  • 1
Alain Van Hout
  • 409
  • 3
  • 7