|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.b4s.Entry
public class Entry
A B4S playlist entry.
Constructor Summary | |
---|---|
Entry()
|
Method Summary | |
---|---|
Integer |
getLength()
Returns the length of this entry, in bytes. |
String |
getName()
Returns the name of this entry. |
String |
getPlaystring()
Returns the play string attached to this entry. |
void |
setLength(int length)
Initializes the length of this entry, in bytes. |
void |
setLength(Integer length)
Initializes the length of this entry, in bytes. |
void |
setName(String name)
Initializes the name of this entry. |
void |
setPlaystring(String playstring)
Initializes the play string attached to this entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entry()
Method Detail |
---|
public String getPlaystring()
null
if not yet initialized.setPlaystring(java.lang.String)
public void setPlaystring(String playstring)
playstring
- a play string. Shall not be null
.
NullPointerException
- if playstring
is null
.getPlaystring()
public String getName()
null
.setName(java.lang.String)
public void setName(String name)
name
- a name. May be null
.getName()
public Integer getLength()
null
.setLength(java.lang.Integer)
public void setLength(Integer length)
length
- a length. May be null
.
IllegalArgumentException
- if the specified length is not positive.getLength()
,
setLength(int)
public void setLength(int length)
length
- a length. Shall not be strictly negative.
IllegalArgumentException
- if the specified length is not positive.getLength()
,
setLength(Integer)
|
Š 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |