Lizzy v1.1.1

christophedelory.playlist.kpl
Class Entry

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

public class Entry
extends Object

A Kalliope playlist entry. Each tag's name is its number in the play order, starting with zero. The only required parameter is the "filename" tag, whose value is a relative path to the media file. Every playlist entry may also have description tags.

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

Constructor Summary
Entry()
           
 
Method Summary
 String getFilename()
          Returns the relative path to the media file.
 Tag getTag()
          Returns the associated tag, if any.
 void setFilename(String fileName)
          Initializes the relative path to the media file.
 void setTag(Tag tag)
          Initializes the associated tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Method Detail

getFilename

public String getFilename()
Returns the relative path to the media file.

Returns:
a file name. May be null if not yet initialized.
See Also:
setFilename(java.lang.String)

setFilename

public void setFilename(String fileName)
Initializes the relative path to the media file.

Parameters:
fileName - a file name. Shall not be null.
Throws:
NullPointerException - if fileName is null.
See Also:
getFilename()

getTag

public Tag getTag()
Returns the associated tag, if any.

Returns:
a tag. May be null.
See Also:
setTag(christophedelory.playlist.kpl.Tag)

setTag

public void setTag(Tag tag)
Initializes the associated tag.

Parameters:
tag - a tag. May be null.
See Also:
getTag()

© 2008-2009 Christophe Delory

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