com.bramosystems.oss.player.core.client
Class PluginInfo

java.lang.Object
  extended by com.bramosystems.oss.player.core.client.PluginInfo
All Implemented Interfaces:
Serializable

public class PluginInfo
extends Object
implements Serializable

Wraps basic information about a browser media plug-in component.

Since:
1.2.1
Author:
Sikirulai Braheem
See Also:
Serialized Form

Nested Class Summary
static class PluginInfo.PlayerPluginWrapperType
          An enum of Javascript API wrappers available for media player plugin
 
Constructor Summary
PluginInfo(Plugin plugin, PluginVersion version, PluginInfo.PlayerPluginWrapperType wrapperType)
          Creates a PluginInfo with the specified version and wrapperType
 
Method Summary
 Plugin getPlugin()
          Returns the plugin
 PluginVersion getVersion()
          Returns the plugin version
 PluginInfo.PlayerPluginWrapperType getWrapperType()
          Returns the wrapper type used by the plugin
 String toString()
          Returns the string representation of this object in the form PluginInfo{plugin, version, wrapperType}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginInfo

public PluginInfo(Plugin plugin,
                  PluginVersion version,
                  PluginInfo.PlayerPluginWrapperType wrapperType)
Creates a PluginInfo with the specified version and wrapperType

Parameters:
plugin - the plugin
version - the plugin version
wrapperType - the wrapper type in use by the plugin
Method Detail

getVersion

public PluginVersion getVersion()
Returns the plugin version

Returns:
the plugin version

getWrapperType

public PluginInfo.PlayerPluginWrapperType getWrapperType()
Returns the wrapper type used by the plugin

Returns:
the wrapper type

getPlugin

public Plugin getPlugin()
Returns the plugin

Returns:
the plugin

toString

public String toString()
Returns the string representation of this object in the form PluginInfo{plugin, version, wrapperType}

Overrides:
toString in class Object
Returns:
the string representation of this object


Copyright © 2009-2011. All Rights Reserved.