Package org.nuxeo.ecm.core.utils
Class ZipFileReader
java.lang.Object
org.nuxeo.ecm.core.utils.ZipFileReader
Utility class to read
ZipFile
s.- Since:
- 2023.7
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZipFile
newZipFile
(File file) Reads aZipFile
as UTF-8 encoded.static ZipFile
newZipFile
(String source)
-
Field Details
-
NUXEO_ZIP_FILE_READER_CHARSET_FALLBACK_KEY
- See Also:
-
-
Method Details
-
newZipFile
- Returns:
- a
ZipFile
decoded into UTF-8 if possible, or into a configuredCharset
if possible - Throws:
IOException
- if decoding goes wrong
-
newZipFile
- Throws:
IOException
-