org.pentaho.reporting.libraries.fonts.encoding
public final class EncodingRegistry extends Object
| Field Summary | |
|---|---|
| static String | ENCODING_ALIAS_PREFIX |
| Method Summary | |
|---|---|
| Encoding | getEncoding(String name) |
| static EncodingRegistry | getInstance() |
| static String | getPlatformDefaultEncoding()
Helper method to read the platform default encoding from the VM's system
properties.
|
| boolean | isSupportedEncoding(String encoding)
Returns true if the encoding is valid, and false
otherwise.
|
Returns: the contents of the system property "file.encoding".
true if the encoding is valid, and false
otherwise.
Parameters: encoding the encoding (name).
Returns: A boolean.