META-INF/services/java.awt.im.spi.InputMethodDescriptorThe file should contain a list of fully-qualified class names, one per line, of classes implementing the
java.awt.im.spi.InputMethodDescriptorinterface. Space and tab characters surrounding each name, as well as blank lines, are ignored. The comment character is
\u0023); on each line all characters following the first comment character are ignored. The file must be encoded in UTF-8.
For example, if the fully-qualified name of the class that implements
java.awt.im.spi.InputMethodDesciptor for the Foo input
com.sun.ime.FooInputMethodDescriptor, the file
contains a line:
com.sun.ime.FooInputMethodDescriptorThe input method must also provide at least two classes: one class implementing the
java.awt.im.spi.InputMethodDescriptorinterface, one class implementing the
java.awt.im.spi.InputMethodinterface. The input method should separate the implementations for these interfaces, so that loading of the class implementing
InputMethodcan be deferred until actually needed.
InputMethodDescriptorimplementations during AWT initialization. It loads an
InputMethodimplementation when the input method has been selected.
Related DocumentationFor overviews, tutorials, examples, guides, and tool documentation, please see Input Method Framework Overview.
Interface Summary Interface Description InputMethodDefines the interface for an input method that supports complex text input. InputMethodContextProvides methods that input methods can use to communicate with their client components or to request other services. InputMethodDescriptorDefines methods that provide sufficient information about an input method to enable selection and loading of that input method.