public class

Plugin

extends Object
java.lang.Object
   ↳ android.webkit.Plugin

Class Overview

Represents a plugin (Java equivalent of the PluginPackageAndroid C++ class in libs/WebKitLib/WebKit/WebCore/plugins/android/)

Summary

Nested Classes
public class Plugin.PreferencesClickHandler  
Public Constructors
Plugin(String name, String path, String fileName, String description)
Public Methods
void dispatchClickEvent(Context context)
Invokes the click handler for this plugin.
String getDescription()
String getFileName()
String getName()
String getPath()
void setClickHandler(Plugin.PreferencesClickHandler handler)
void setDescription(String description)
void setFileName(String fileName)
void setName(String name)
void setPath(String path)
String toString()
Returns a string containing a concise, human-readable description of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Plugin (String name, String path, String fileName, String description)

Public Methods

public void dispatchClickEvent (Context context)

Invokes the click handler for this plugin.

public String getDescription ()

public String getFileName ()

public String getName ()

public String getPath ()

public void setClickHandler (Plugin.PreferencesClickHandler handler)

public void setDescription (String description)

public void setFileName (String fileName)

public void setName (String name)

public void setPath (String path)

public String toString ()

Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation simply concatenates the class name, the '@' sign and a hexadecimal representation of the object's hashCode(), that is, it is equivalent to the following expression:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
  • a printable representation of this object.