public interface CharsetAccessor
NioZipEncoding
,
without requiring a new method to be added to ZipEncoding
.
This avoids introducing a
potentially breaking change, or making NioZipEncoding
a public class.
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getCharset()
Provides access to the character set associated with an object.
|
java.nio.charset.Charset getCharset()
This allows nio oriented code to use more natural character encoding/decoding methods, whilst allowing existing code to continue to rely on special-case error handling for UTF-8.
Copyright © 2010 - 2020 Adobe. All Rights Reserved