org.glassfish.grizzly.http.util
Class Charsets

java.lang.Object
  extended by org.glassfish.grizzly.http.util.Charsets

Deprecated.

@Deprecated
public final class Charsets
extends java.lang.Object

Charset utility class. Class is deprecated, please use Charsets.

Author:
Alexey Stashok

Field Summary
static java.nio.charset.Charset ASCII_CHARSET
          Deprecated.  
static java.lang.String DEFAULT_CHARACTER_ENCODING
          Deprecated.  
static java.nio.charset.Charset DEFAULT_CHARSET
          Deprecated.  
static java.nio.charset.Charset UTF8_CHARSET
          Deprecated.  
 
Constructor Summary
Charsets()
          Deprecated.  
 
Method Summary
static java.nio.charset.Charset lookupCharset(java.lang.String charsetName)
          Deprecated. Lookup a Charset by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CHARACTER_ENCODING

public static final java.lang.String DEFAULT_CHARACTER_ENCODING
Deprecated. 
See Also:
Constant Field Values

ASCII_CHARSET

public static final java.nio.charset.Charset ASCII_CHARSET
Deprecated. 

UTF8_CHARSET

public static final java.nio.charset.Charset UTF8_CHARSET
Deprecated. 

DEFAULT_CHARSET

public static final java.nio.charset.Charset DEFAULT_CHARSET
Deprecated. 
Constructor Detail

Charsets

public Charsets()
Deprecated. 
Method Detail

lookupCharset

public static java.nio.charset.Charset lookupCharset(java.lang.String charsetName)
Deprecated. 
Lookup a Charset by name. Fixes Charset concurrency issue (http://paul.vox.com/library/post/the-mysteries-of-java-character-set-performance.html)

Parameters:
charsetName -
Returns:
Charset


Copyright © 2011 Oracle Corporation. All Rights Reserved.