Class ZipFileSystemConfigBuilder

    • Method Detail

      • getCharset

        public java.nio.charset.Charset getCharset​(FileSystemOptions fileSystemOptions)
        Gets the Charset from the FileSystemOptions or StandardCharsets.UTF_8 if absent.
        Parameters:
        fileSystemOptions - The source FileSystemOptions.
        Returns:
        the Charset from the FileSystemOptions.
      • setCharset

        public void setCharset​(FileSystemOptions fileSystemOptions,
                               java.nio.charset.Charset charset)
        Sets the Charset in the FileSystemOptions.
        Parameters:
        fileSystemOptions - The target FileSystemOptions.
        charset - The Charset to set.