|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devplugin.ProgramItem
public class ProgramItem
A wrapper class for programs to add properties to the program.
Constructor Summary | |
---|---|
ProgramItem()
|
|
ProgramItem(Program prog)
|
Method Summary | |
---|---|
int |
compareTo(ProgramItem other)
|
Date |
getDate()
Get the date of the program. |
Program |
getProgram()
|
java.lang.String |
getProperty(java.lang.String key)
|
int |
getStartTime()
get the start time of the program in minutes after midnight |
void |
read(java.io.ObjectInputStream in)
read the object from the input stream. |
void |
setProgram(Program prog)
|
void |
setProperty(java.lang.String key,
java.lang.String value)
|
java.lang.String |
toString()
|
void |
write(java.io.ObjectOutputStream out)
write this object to the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgramItem(Program prog)
public ProgramItem()
Method Detail |
---|
public void read(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- the stream to read from
java.io.IOException
- if something went wrong reading the stream
java.lang.ClassNotFoundException
- if the object could not be deserializedpublic void write(java.io.ObjectOutputStream out) throws java.io.IOException
out
- the stream to write to
java.io.IOException
- if something went wrongpublic void setProgram(Program prog)
public Program getProgram()
public void setProperty(java.lang.String key, java.lang.String value)
public java.lang.String getProperty(java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
public Date getDate()
public int getStartTime()
public int compareTo(ProgramItem other)
compareTo
in interface java.lang.Comparable<ProgramItem>
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |