de.schlichtherle.truezip.zip.ZipCharsetParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truezip-driver-zip Show documentation
Show all versions of truezip-driver-zip Show documentation
The file system driver family for ZIP and related archive file types.
Add the JAR artifact of this module to the run time class path to
make its file system drivers available for service location in the
client API modules.
/*
* Copyright (C) 2005-2013 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package de.schlichtherle.truezip.zip;
import java.nio.charset.Charset;
/**
* Defines the default character set for accessing ZIP files.
*
* @since TrueZIP 7.3
* @author Christian Schlichtherle
*/
public interface ZipCharsetParameters extends ZipParameters {
/**
* Returns the default character set for comments and entry names in a ZIP
* file.
* Subsequent calls must return the same object.
*
* When reading a ZIP file, this is used to decode comments and entry names
* in a ZIP file unless an entry has bit 11 set in its General Purpose Bit
* Flags.
* In this case, the character set is ignored and "UTF-8" is used for
* decoding the entry.
* This is in accordance to Appendix D of PKWARE's
* ZIP File Format Specification,
* version 6.3.0 and later.
*
* @return The default character set for comments and entry names in a ZIP
* file.
*/
Charset getCharset();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy