Interface CharsetAccessor
- 
public interface CharsetAccessorAn interface added to allow access to the character set associated with anNioZipEncoding, without requiring a new method to be added toZipEncoding.This avoids introducing a potentially breaking change, or making
NioZipEncodinga public class.- Since:
 - 1.15
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.charset.CharsetgetCharset()Provides access to the character set associated with an object. 
 - 
 
- 
- 
Method Detail
- 
getCharset
java.nio.charset.Charset getCharset()
Provides access to the character set associated with an object.This allowsNIOoriented 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.
- Returns:
 - the character set associated with this object
 
 
 - 
 
 -