Eclipse eRCP
Release 1.1

org.eclipse.ui
Class WorkbenchEncoding

java.lang.Object
  extended byorg.eclipse.ui.WorkbenchEncoding

public class WorkbenchEncoding
extends Object

WorkbenchEncoding is a utility class for plug-ins that want to use the list of encodings defined by default in the workbench.

Since:
3.1

Field Summary
static String ISO_8859_1
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
static String US_ASCII
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
static String UTF_16
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
static String UTF_16_BIG_ENDIAN
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
static String UTF_16_LITTLE_ENDIAN
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
static String UTF_8
          Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.
 
Constructor Summary
WorkbenchEncoding()
           
 
Method Summary
static String getWorkbenchDefaultEncoding()
          Get the default encoding from the virtual machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO_8859_1

public static String ISO_8859_1
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for ISO-8859-1


UTF_8

public static String UTF_8
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for UTF-8


UTF_16

public static String UTF_16
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for UTF-16


UTF_16_BIG_ENDIAN

public static String UTF_16_BIG_ENDIAN
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for UTF-16 big endian


UTF_16_LITTLE_ENDIAN

public static String UTF_16_LITTLE_ENDIAN
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for UTF-16 little endian


US_ASCII

public static String US_ASCII
Deprecated. Use #getDefinedEncodings. This API will be deleted before 3.1 M2.

Workbench constant for US ASCII

Constructor Detail

WorkbenchEncoding

public WorkbenchEncoding()
Method Detail

getWorkbenchDefaultEncoding

public static String getWorkbenchDefaultEncoding()
Get the default encoding from the virtual machine.

Returns:
String

Eclipse eRCP
Release 1.1