|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.ui.settings.BlockedPlugin
public final class BlockedPlugin
A class that contains information about a blocked plugin.
Constructor Summary | |
---|---|
BlockedPlugin(java.lang.String asString)
Creates an instance of a blocked plugin from the given String. |
|
BlockedPlugin(Version blockStart,
Version blockEnd,
java.lang.String pluginId)
Creates an instance of a blocked plugin. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Version |
getBlockEnd()
|
Version |
getBlockStart()
|
java.lang.String |
getPluginId()
|
(package private) java.lang.String |
getPropertyString()
|
int |
hashCode()
|
boolean |
isBlockedVersion(PluginAccess plugin)
(Even if the block start version is higher than 0.0.0.0, the 0.0.0.0 version will always been acknowledged as blocked.) |
boolean |
isBlockedVersion(java.lang.String pluginId,
Version version)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
BlockedPlugin(Version blockStart, Version blockEnd, java.lang.String pluginId)
blockStart
- The version from which the block begins.blockEnd
- The version to which the block reach.pluginId
- The id of the blocked plugin.BlockedPlugin(java.lang.String asString)
asString
- The String that contains the information about the blocked plugin.Method Detail |
---|
public boolean isBlockedVersion(PluginAccess plugin)
plugin
- The plugin to check.
True
if the given plugin is blocked.public boolean isBlockedVersion(java.lang.String pluginId, Version version)
pluginId
- The id to test.version
- The version to test.
True
if the given plugin id version combination is blocked.java.lang.String getPropertyString()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getPluginId()
public Version getBlockStart()
public Version getBlockEnd()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |