Constructor and Description |
---|
ProgramFrame() |
ProgramFrame(int id) |
Modifier and Type | Method and Description |
---|---|
void |
addProgramField(ProgramField field) |
Object |
clone() |
boolean |
equals(Object obj) |
int |
getId() |
ProgramField |
getProgramFieldAt(int index) |
int |
getProgramFieldCount() |
int |
getProgramFieldIndexForTypeId(int typeId) |
ProgramField |
getProgramFieldOfType(ProgramFieldType type) |
void |
readFromStream(InputStream stream)
Reads the data from a stream
|
void |
removeAllProgramFields() |
ProgramField |
removeProgramFieldAt(int index) |
ProgramField |
removeProgramFieldOfType(ProgramFieldType type) |
void |
setId(int id) |
void |
writeToStream(OutputStream stream) |
public int getId()
public void setId(int id)
id
- public int getProgramFieldCount()
public ProgramField getProgramFieldAt(int index)
public ProgramField removeProgramFieldAt(int index)
public ProgramField removeProgramFieldOfType(ProgramFieldType type)
public void removeAllProgramFields()
public void addProgramField(ProgramField field)
public int getProgramFieldIndexForTypeId(int typeId)
public ProgramField getProgramFieldOfType(ProgramFieldType type)
public void readFromStream(InputStream stream) throws IOException, FileFormatException
stream
- The stream to read from.IOException
- Thrown if something goes wrong.FileFormatException
- Thrown if something goes wrong.public void writeToStream(OutputStream stream) throws IOException, FileFormatException
IOException
FileFormatException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)