|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.mpcpl.Resource
public class Resource
A MPCPL resource definition.
Constructor Summary | |
---|---|
Resource()
|
Method Summary | |
---|---|
String |
getFilename()
Returns the file name of this resource. |
String |
getSubtitle()
Returns the file name of an optional subtitle. |
String |
getType()
Returns the type of this resource. |
void |
setFilename(String filename)
Initializes the file name of this resource. |
void |
setSubtitle(String subtitle)
Initializes the file name of an associated subtitle. |
void |
setType(String type)
Initializes the type of this resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource()
Method Detail |
---|
public String getFilename()
null
if not yet initialized.setFilename(java.lang.String)
public void setFilename(String filename)
filename
- a resource file name. Shall not be null
.
NullPointerException
- if filename
is null
.getFilename()
public String getType()
null
.setType(java.lang.String)
public void setType(String type)
type
- a resource type. Shall not be null
.
NullPointerException
- if type
is null
.getType()
public String getSubtitle()
null
.setSubtitle(java.lang.String)
public void setSubtitle(String subtitle)
subtitle
- a subtitle file name. May be null
.getSubtitle()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |