Class BackupCharsetFilePersister


  • public class BackupCharsetFilePersister
    extends Object
    • Constructor Detail

      • BackupCharsetFilePersister

        public BackupCharsetFilePersister()
    • Method Detail

      • readCharset

        @Nullable
        public static Charset readCharset​(@NotNull
                                          ZipReader zipReader)
                                   throws IOException

        Returns null when charset is not found in file.

        Parameters:
        zipReader - the ZIP stream reader.
        Returns:
        null when charset is not found in file.
        Throws:
        IOException - if a ZIP stream error occurs.