tvbrowserdataservice.file
Class ProgramFrame
java.lang.Object
tvbrowserdataservice.file.ProgramFrame
- All Implemented Interfaces:
- Cloneable
public class ProgramFrame
- extends Object
- implements Cloneable
- Author:
- Til Schneider, www.murfman.de
ProgramFrame
public ProgramFrame(int id)
ProgramFrame
public ProgramFrame()
clone
public Object clone()
- Overrides:
clone in class Object
getId
public int getId()
- Returns:
- id
setId
public void setId(int id)
- Parameters:
id -
getProgramFieldCount
public int getProgramFieldCount()
getProgramFieldAt
public ProgramField getProgramFieldAt(int index)
removeProgramFieldAt
public ProgramField removeProgramFieldAt(int index)
removeProgramFieldOfType
public ProgramField removeProgramFieldOfType(ProgramFieldType type)
removeAllProgramFields
public void removeAllProgramFields()
addProgramField
public void addProgramField(ProgramField field)
getProgramFieldIndexForTypeId
public int getProgramFieldIndexForTypeId(int typeId)
getProgramFieldOfType
public ProgramField getProgramFieldOfType(ProgramFieldType type)
readFromStream
public void readFromStream(InputStream stream)
throws IOException,
FileFormatException
- Reads the data from a stream
- Parameters:
stream - The stream to read from.
- Throws:
IOException - Thrown if something goes wrong.
FileFormatException - Thrown if something goes wrong.
writeToStream
public void writeToStream(OutputStream stream)
throws IOException,
FileFormatException
- Throws:
IOException
FileFormatException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)