Class WorkbenchEncoding


  • public class WorkbenchEncoding
    extends java.lang.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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> getDefinedEncodings()
      Return the list of encodings defined using the org.eclipse.ui.encodings extension point.
      static java.lang.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
    • Constructor Detail

      • WorkbenchEncoding

        public WorkbenchEncoding()
    • Method Detail

      • getWorkbenchDefaultEncoding

        public static java.lang.String getWorkbenchDefaultEncoding()
        Get the default encoding from the virtual machine.
        Returns:
        String
      • getDefinedEncodings

        public static java.util.List<java.lang.String> getDefinedEncodings()
        Return the list of encodings defined using the org.eclipse.ui.encodings extension point.
        Returns:
        List of String