com.gargoylesoftware.htmlunit
Class PluginConfiguration

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.PluginConfiguration

public class PluginConfiguration
extends Object

Contains information about a plugin as available in javascript through document.navigator.plugins as well as the associated mime types (for Firefox browser simulation).

Version:
$Revision: 2144 $
Author:
Marc Guillemot
See Also:
XUL Planet

Nested Class Summary
static class PluginConfiguration.MimeType
          Holds information about a single mime type associated with a plugin
 
Constructor Summary
PluginConfiguration(String name, String description, String filename)
          C'tor initializing fields
 
Method Summary
 String getDescription()
          Gets the plugin's description
 String getFilename()
          Gets the plugin's file name
 Set getMimeTypes()
          Gets the associated mime types
 String getName()
          Gets the plugin's name
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginConfiguration

public PluginConfiguration(String name,
                           String description,
                           String filename)
C'tor initializing fields

Parameters:
name - the plugin name
description - the plugin description
filename - the plugin filename
Method Detail

getDescription

public String getDescription()
Gets the plugin's description

Returns:
the description.

getFilename

public String getFilename()
Gets the plugin's file name

Returns:
the file name.

getName

public String getName()
Gets the plugin's name

Returns:
the name.

getMimeTypes

public Set getMimeTypes()
Gets the associated mime types

Returns:
a set of PluginConfiguration.MimeType

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Returns:
the hashCode of the plugin name


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.