Package com.teamdev.jxbrowser.plugin
Interface Plugin
public interface Plugin
The details of the installed Chromium plugin.
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Returns a string that represents the plugin description.Returns an immutable list of the MIME types supported by the plugin.default String
name()
Returns a string that represents the name of the plugin.default String
path()
Obtains the path to the plugin.default PluginType
type()
Returns the plugin type.default String
version()
Returns a string that represents the version number of the plugin file.
-
Method Details
-
name
Returns a string that represents the name of the plugin. For example, "Chromium PDF Plugin". -
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
Returns a string that represents the version number of the plugin file. This value may be OS-specific. -
description
Returns a string that represents the plugin description. -
type
Returns the plugin type. -
mimeTypes
Returns an immutable list of the MIME types supported by the plugin.
-