com.neeve.util
Class UtlCharset

java.lang.Object
  extended by 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.


Constructor Summary
UtlCharset()
           
 
Method Summary
static CharsetDecoder getDecoder(String charsetName)
          Get a charset decoder.
static CharsetEncoder getEncoder(String charsetName)
          Get a charset encoder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtlCharset

public UtlCharset()
Method Detail

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.