|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.player.PlayerSupport
public class PlayerSupport
Information about a player support of a particular multimedia file.
A file is supported if it can be parsed by the specified player.
Optionnally, it can also be saved.
See also:
Nested Class Summary | |
---|---|
static class |
PlayerSupport.Player
The player type. |
Constructor Summary | |
---|---|
PlayerSupport(PlayerSupport.Player player,
boolean isSaved,
String comment)
Builds a new player support information. |
Method Summary | |
---|---|
Object |
clone()
Creates and returns a "shallow" copy of this object. |
String |
getComment()
Returns an optional comment associated to this player support. |
PlayerSupport.Player |
getPlayer()
Returns the target player. |
boolean |
isSaved()
Specifies that the target player can also save the mutimedia file, or not. |
static String |
toString(PlayerSupport.Player player)
Returns a string representation of the specified player. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayerSupport(PlayerSupport.Player player, boolean isSaved, String comment)
player
- the target player. Shall not be null
.isSaved
- specifies that the player can also save the mutimedia file, or not.comment
- any comment on this player support. May be null
.
NullPointerException
- if player
is null
.Method Detail |
---|
public static String toString(PlayerSupport.Player player)
player
- a player. Shall not be null
.
null
.
NullPointerException
- if player
is null
.public PlayerSupport.Player getPlayer()
null
.public boolean isSaved()
public String getComment()
null
.public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- shall not be thrown, because this class is cloneable.Object.clone()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |