You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then you can use different methods that are similar to the standard java ZipFile class. For example here are the
67
67
publicly available methods.
68
68
69
+
-```getEntry(String name)``` Returns the entry mapped with the specified name, or null if there is no entry mapped with that name.
70
+
-```entries()``` Returns all the available entries as a list of <b>ZipEntry</b>.
71
+
-```getInputStream(...)``` Opens(and returns) a bounded input stream currently positioning at the start of the requested entry's data block.
69
72
-```size()``` Returns the total number of available entries.
70
73
-```getComment()``` Returns the principal comment of the zip file.
71
-
-```entries()``` Returns all the available entries as a list of <b>ZipEntry</b>.
72
-
-```getInputStream(...)``` Opens(and returns) a bounded input stream currently positioning at the start of the
73
-
requested entry's data block.
74
-
-```close()``` Closes the zip file, and any subsequent call to <b>getInputStream(...)</b> will throw an exception.
75
-
However, other methods of the class that are saved in memory will still be available after call to <b>close()</b>.
74
+
-```close()``` Closes the zip file, and any subsequent call to <b>getInputStream(...)</b> will throw an exception. However, other methods of the class that are saved in memory will still be available after call to <b>close()</b>.
0 commit comments