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