Interface Plugin


public interface Plugin
The details of the installed Chromium plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a string that represents the plugin description.
    default List<MimeType>
    Returns an immutable list of the MIME types supported by the plugin.
    default String
    Returns a string that represents the name of the plugin.
    default String
    Obtains the path to the plugin.
    default PluginType
    Returns the plugin type.
    default String
    Returns a string that represents the version number of the plugin file.
  • Method Details

    • name

      default String name()
      Returns a string that represents the name of the plugin. For example, "Chromium PDF Plugin".
    • path

      default String path()
      Obtains the path to the plugin.

      Returned string will hold one of the following:

      • absolute path to the plugin file on the local file system;
      • plugin extension name;
      • the resource URL (for example, chrome-extension://<IDENTIFIER>)
    • version

      default String version()
      Returns a string that represents the version number of the plugin file. This value may be OS-specific.
    • description

      default String description()
      Returns a string that represents the plugin description.
    • type

      default PluginType type()
      Returns the plugin type.
    • mimeTypes

      default List<MimeType> mimeTypes()
      Returns an immutable list of the MIME types supported by the plugin.