Package org.htmlunit
Class PluginConfiguration
java.lang.Object
org.htmlunit.PluginConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a plugin as available in JavaScript via
document.navigator.plugins
,
as well as the associated mime types.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Holds information about a single mime type associated with a plugin. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluginConfiguration
(String name, String description, String version, String filename) Creates a new instance. -
Method Summary
-
Field Details
-
description_
-
filename_
-
name_
-
version_
-
mimeTypes_
-
-
Constructor Details
-
PluginConfiguration
Creates a new instance.- Parameters:
name
- the plugin namedescription
- the plugin descriptionversion
- the versionfilename
- the plugin filename
-
-
Method Details
-
getDescription
Gets the plugin's description.- Returns:
- the description
-
getFilename
Gets the plugin's file name.- Returns:
- the file name
-
getName
Gets the plugin's name.- Returns:
- the name
-
getVersion
Gets the plugin's version.- Returns:
- the version
-
getMimeTypes
Gets the associated mime types.- Returns:
- a set of
PluginConfiguration.MimeType
-
hashCode
public int hashCode() -
equals
-
clone
Creates and return a copy of this object. Current instance and cloned object can be modified independently.
-