public final class Encodings
extends java.lang.Object
This class is not a public API. It is only public because it is used outside of this package.
Constructor and Description |
---|
Encodings() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convertMime2JavaEncoding(java.lang.String encoding)
Try the best we can to convert a Java encoding to a XML-style encoding.
|
static char |
getHighChar(java.lang.String encoding)
Characters with values at or below the high code point are
in the encoding.
|
static boolean |
isRecognizedEncoding(java.lang.String encoding)
Determines if the encoding specified was recognized by the
serializer or not.
|
public static boolean isRecognizedEncoding(java.lang.String encoding)
encoding
- The encodingpublic static java.lang.String convertMime2JavaEncoding(java.lang.String encoding)
This is not a public API.
encoding
- non-null reference to encoding string, java style.This method is not a public API.
public static char getHighChar(java.lang.String encoding)
This is for performance.
encoding
- The encodingThis method is not a public API.
Copyright © 2023 Apache XML Project. All Rights Reserved.