public class Station extends Object
Only EpgClient can instantiate instances of this class
When there's a discrepancy between the descriptions of data found in this source code and that found here then the latter web source will always take precedence!
Modifier and Type | Class and Description |
---|---|
class |
Station.Logo |
Modifier and Type | Method and Description |
---|---|
protected void |
downloadProgramsAndAirings()
Downloads and builds the arrays of programs and airings as needed
|
boolean |
equals(Object obj) |
String |
getAffiliate() |
Airing[] |
getAirings()
Get all available future airings scheduled for this station
|
int |
getAtscMajorNumber() |
int |
getAtscMinorNumber() |
String |
getBroadcasterCity() |
String |
getBroadcasterCountry() |
String |
getBroadcasterState() |
String |
getBroadcasterZip() |
String |
getCallsign() |
String |
getId() |
String |
getLanguage() |
String |
getLogicalChannelNumber() |
Station.Logo |
getLogo() |
String |
getName() |
String |
getPhysicalChannelNumber() |
Program[] |
getPrograms()
Get all available programs scheduled to air on this station
|
int |
getUhfVhfNumber() |
int |
hashCode() |
boolean |
isCommercialFree() |
void |
setAffiliate(String affiliate) |
void |
setAirings(Airing[] airings)
Set the Airings for this Station; all of the Airing's Station references will be changed to point to this Station instance
|
void |
setAtscMajorNumber(int atscMajorNumber) |
void |
setAtscMinorNumber(int atscMinorNumber) |
void |
setBroadcasterCity(String broadcasterCity) |
void |
setBroadcasterCountry(String broadcasterCountry) |
void |
setBroadcasterState(String broadcasterState) |
void |
setBroadcasterZip(String broadcasterZip) |
void |
setCallsign(String callsign) |
void |
setCommercialFree(boolean isCommercialFree) |
void |
setId(String id) |
void |
setLogo(Station.Logo logo) |
void |
setName(String name) |
void |
setUhfVhfNumber(int uhfVhfNumber) |
String |
toString() |
public String getId()
public String getLanguage()
public String getCallsign()
public String getName()
public String getAffiliate()
public String getBroadcasterState()
public String getBroadcasterCity()
public String getBroadcasterZip()
public String getBroadcasterCountry()
public int getUhfVhfNumber()
public int getAtscMajorNumber()
public int getAtscMinorNumber()
public String getPhysicalChannelNumber()
public String getLogicalChannelNumber()
public Airing[] getAirings() throws IOException
The airings are only downloaded and built on the first access of this array; lazy initialization
IOException
- Thrown on any IO error accessing the upstream data feedpublic Program[] getPrograms() throws IOException
The programs are only downloaded and built on the first access of this array; lazy initialization
IOException
- Thrown on any IO error accessing the upstream data feedprotected void downloadProgramsAndAirings() throws IOException
IOException
- Thrown on any IO error accessing the upstream data feedpublic void setId(String id)
id
- the id to setpublic void setCallsign(String callsign)
callsign
- the callsign to setpublic void setName(String name)
name
- the name to setpublic void setAffiliate(String affiliate)
affiliate
- the affiliate to setpublic void setBroadcasterState(String broadcasterState)
broadcasterState
- the broadcasterState to setpublic void setBroadcasterCity(String broadcasterCity)
broadcasterCity
- the broadcasterCity to setpublic void setBroadcasterZip(String broadcasterZip)
broadcasterZip
- the broadcasterZip to setpublic void setBroadcasterCountry(String broadcasterCountry)
broadcasterCountry
- the broadcasterCountry to setpublic void setUhfVhfNumber(int uhfVhfNumber)
uhfVhfNumber
- the uhfVhfNumber to setpublic void setAtscMajorNumber(int atscMajorNumber)
atscMajorNumber
- the atscMajorNumber to setpublic void setAtscMinorNumber(int atscMinorNumber)
atscMinorNumber
- the atscMinorNumber to setpublic void setAirings(Airing[] airings)
airings
- the airings to setpublic Station.Logo getLogo()
public void setLogo(Station.Logo logo)
logo
- the logo to setpublic boolean isCommercialFree()
public void setCommercialFree(boolean isCommercialFree)
isCommercialFree
- the isCommercialFree to setCopyright © 2012–2014 Battams, Derek. All rights reserved.