TV-Browser 2.7.5 API

tvbrowser.core.data
Class OnDemandProgram

java.lang.Object
  extended by tvdataservice.MutableProgram
      extended by tvbrowser.core.data.OnDemandProgram
All Implemented Interfaces:
Program

public class OnDemandProgram
extends MutableProgram

Author:
Til Schneider, www.murfman.de

Field Summary
 
Fields inherited from class tvdataservice.MutableProgram
EMPTY_MARKER_ARR, MAX_SHORT_INFO_LENGTH, mTitle
 
Fields inherited from interface devplugin.Program
DEFAULT_MARK_PRIORITY, HIGHER_MEDIUM_MARK_PRIORITY, INFO_AUDIO_DESCRIPTION, INFO_AUDIO_DOLBY_DIGITAL_5_1, INFO_AUDIO_DOLBY_SURROUND, INFO_AUDIO_MONO, INFO_AUDIO_STEREO, INFO_AUDIO_TWO_CHANNEL_TONE, INFO_CATEGORIE_ARTS, INFO_CATEGORIE_CHILDRENS, INFO_CATEGORIE_DOCUMENTARY, INFO_CATEGORIE_MAGAZINE_INFOTAINMENT, INFO_CATEGORIE_MOVIE, INFO_CATEGORIE_NEWS, INFO_CATEGORIE_OTHERS, INFO_CATEGORIE_SERIES, INFO_CATEGORIE_SHOW, INFO_CATEGORIE_SPORTS, INFO_LIVE, INFO_NEW, INFO_ORIGINAL_WITH_SUBTITLE, INFO_SUBTITLE, INFO_SUBTITLE_FOR_AURALLY_HANDICAPPED, INFO_VISION_16_TO_9, INFO_VISION_4_TO_3, INFO_VISION_BLACK_AND_WHITE, INFO_VISION_HD, IS_VALID_STATE, LOWER_MEDIUM_MARK_PRIORITY, MARK_PRIORITY, MAX_MARK_PRIORITY, MEDIUM_MARK_PRIORITY, MIN_MARK_PRIORITY, NO_MARK_PRIORITY, WAS_DELETED_STATE, WAS_UPDATED_STATE
 
Constructor Summary
OnDemandProgram(Channel channel, Date localDate, OnDemandDayProgramFile onDemandFile)
          Creates a new instance of MutableProgram.
 
Method Summary
protected  Object getField(ProgramFieldType type, int fieldFormat)
           
 void setLargeField(ProgramFieldType type, long position)
           
 
Methods inherited from class tvdataservice.MutableProgram
addChangeListener, equals, equalsAllFields, fireStateChanged, generateShortInfoFromDescription, getBinaryField, getChannel, getDate, getDateString, getDescription, getEndTimeString, getFieldCount, getFieldIterator, getHours, getID, getInfo, getIntField, getIntFieldAsString, getLength, getLocalDate, getLocalStartTime, getMarkedByPlugins, getMarkerArr, getMarkPriority, getMinutes, getProgramState, getShortInfo, getStartTime, getTextField, getTimeField, getTimeFieldAsString, getTimeString, getTitle, isExpired, isOnAir, mark, mark, removeChangeListener, setBinaryField, setDescription, setField, setInfo, setIntField, setLength, setMarkerArr, setMarkPriority, setProgramLoadingIsComplete, setProgramState, setShortInfo, setTextField, setTimeField, setTitle, toString, unmark, unmark, validateMarking
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnDemandProgram

public OnDemandProgram(Channel channel,
                       Date localDate,
                       OnDemandDayProgramFile onDemandFile)
Creates a new instance of MutableProgram.

The parameters channel, date, hours and minutes build the ID. That's why they are not mutable.

Parameters:
channel - The channel object of this program.
localDate - The date of this program.
Method Detail

setLargeField

public void setLargeField(ProgramFieldType type,
                          long position)

getField

protected Object getField(ProgramFieldType type,
                          int fieldFormat)
Overrides:
getField in class MutableProgram

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)