Lizzy v1.1.1

christophedelory.playlist.kpl
Class Info

java.lang.Object
  extended by christophedelory.playlist.kpl.Info

public class Info
extends Object

The information section in a Kalliope playlist. It describes some useful information, for example a specification number that denotes which spec version was used to write the playlist so other media players that load it will know exactly what specification to use when parsing the playlist. Other info data is optional and used only for statistical purposes.

Since:
0.3.0
Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Info()
           
 
Method Summary
 String getAuthor()
          Returns the author name.
 Date getCreationDay()
          Returns the creation day.
 String getCreationDayString()
          Returns the creation day.
 String getKplVersion()
          Returns the KPL version.
 Date getModifiedDay()
          Returns the modified day.
 String getModifiedDayString()
          Returns the modified day.
 String getPlayer()
          Returns the player name.
 String getPlayerVersion()
          Returns the player version.
 void setAuthor(String author)
          Initializes the author name.
 void setCreationDay(Date creationDay)
          Initializes the creation day.
 void setCreationDayString(String creationDay)
          Initializes the creation day.
 void setKplVersion(String kplVersion)
          Initializes the KPL version.
 void setModifiedDay(Date modifiedDay)
          Initializes the modified day.
 void setModifiedDayString(String modifiedDay)
          Initializes the modified day.
 void setPlayer(String player)
          Initializes the player name.
 void setPlayerVersion(String playerVersion)
          Initializes the player version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Info

public Info()
Method Detail

getCreationDayString

public String getCreationDayString()
Returns the creation day.

Returns:
a day. May be null.
See Also:
setCreationDayString(java.lang.String), getCreationDay()

setCreationDayString

public void setCreationDayString(String creationDay)
                          throws ParseException
Initializes the creation day.

Parameters:
creationDay - a day. May be null.
Throws:
ParseException - if the beginning of the specified string cannot be parsed.
See Also:
getCreationDayString(), setCreationDay(java.util.Date)

getCreationDay

public Date getCreationDay()
Returns the creation day.

Returns:
a day. May be null.
See Also:
setCreationDay(java.util.Date), getCreationDayString()

setCreationDay

public void setCreationDay(Date creationDay)
Initializes the creation day.

Parameters:
creationDay - a day. May be null.
See Also:
getCreationDay(), setCreationDayString(java.lang.String)

getModifiedDayString

public String getModifiedDayString()
Returns the modified day.

Returns:
a day. May be null.
See Also:
setModifiedDayString(java.lang.String), getModifiedDay()

setModifiedDayString

public void setModifiedDayString(String modifiedDay)
                          throws ParseException
Initializes the modified day.

Parameters:
modifiedDay - a day. May be null.
Throws:
ParseException - if the beginning of the specified string cannot be parsed.
See Also:
getModifiedDayString(), setModifiedDay(java.util.Date)

getModifiedDay

public Date getModifiedDay()
Returns the modified day.

Returns:
a day. May be null.
See Also:
setModifiedDay(java.util.Date), getModifiedDayString()

setModifiedDay

public void setModifiedDay(Date modifiedDay)
Initializes the modified day.

Parameters:
modifiedDay - a day. May be null.
See Also:
getModifiedDay(), setModifiedDayString(java.lang.String)

getAuthor

public String getAuthor()
Returns the author name.

Returns:
an author name. May be null.
See Also:
setAuthor(java.lang.String)

setAuthor

public void setAuthor(String author)
Initializes the author name.

Parameters:
author - an author name. May be null.
See Also:
getAuthor()

getPlayer

public String getPlayer()
Returns the player name.

Returns:
a player name. May be null.
See Also:
setPlayer(java.lang.String)

setPlayer

public void setPlayer(String player)
Initializes the player name.

Parameters:
player - a player name. May be null.
See Also:
getPlayer()

getPlayerVersion

public String getPlayerVersion()
Returns the player version.

Returns:
a player version. May be null.
See Also:
setPlayerVersion(java.lang.String)

setPlayerVersion

public void setPlayerVersion(String playerVersion)
Initializes the player version.

Parameters:
playerVersion - a player version. May be null.
See Also:
getPlayerVersion()

getKplVersion

public String getKplVersion()
Returns the KPL version.

Returns:
a KPL version. May be null.
See Also:
setKplVersion(java.lang.String)

setKplVersion

public void setKplVersion(String kplVersion)
Initializes the KPL version.

Parameters:
kplVersion - a KPL version. May be null.
See Also:
getKplVersion()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.