com.neeve.util
Class UtlCharset
java.lang.Object
com.neeve.util.UtlCharset
public final class UtlCharset
- extends Object
Utility class containing methods to work with charsets.
This class MAY be used by end users, however it is not supported.
UtlCharset
public UtlCharset()
getEncoder
public static CharsetEncoder getEncoder(String charsetName)
- Get a charset encoder.
- Parameters:
charsetName
- The name of the charset.
- Throws:
IllegalArgumentException
- Thrown if name does not specify
a valid charset.- Threading:
- This method is safe for concurrent access by multiple threads.
getDecoder
public static CharsetDecoder getDecoder(String charsetName)
- Get a charset decoder.
- Parameters:
charsetName
- The name of the charset.
- Throws:
IllegalArgumentException
- Thrown if name does not specify
a valid charset.- Threading:
- This method is safe for concurrent access by multiple threads.
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.