|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcaptureplugin.drivers.dreambox.DreamboxConfig
public class DreamboxConfig
The configuration for the dreambox
| Constructor Summary | |
|---|---|
DreamboxConfig()
Constructor |
|
DreamboxConfig(DreamboxConfig dreamboxConfig)
Clone another config |
|
DreamboxConfig(ObjectInputStream stream)
Read config from Stream |
|
| Method Summary | |
|---|---|
DreamboxConfig |
clone()
|
int |
getAfterTime()
|
Channel |
getChannel(DreamboxChannel channel)
Get a TVBrowser-channel for a DreamboxChannel |
String |
getDreamboxAddress()
|
DreamboxChannel |
getDreamboxChannelForRef(String ref)
Find a specific DreamboxChannel |
ExternalChannelIf |
getExternalChannel(Channel channel)
Get a DreamboxChannel for a TVBrowser-channel |
ExternalChannelIf[] |
getExternalChannels()
|
String |
getId()
|
String |
getMediaplayer()
|
String |
getPassword()
|
int |
getPreTime()
|
int |
getTimeout()
|
TimeZone |
getTimeZone()
Get the Timezone |
String |
getTimeZoneAsString()
Get the Timezone as String |
String |
getUserName()
|
void |
setAfterTime(int after)
Set Time after recording |
void |
setBeforeTime(int before)
Set Time before recording |
void |
setDreamboxAddress(String address)
|
void |
setDreamboxChannels(DreamboxChannel[] channels)
|
void |
setExternalChannel(Channel channel,
ExternalChannelIf dreamboxChannel)
Set the mapping between dreamboxchannel and subscribedchannel |
void |
setMediaplayer(String mediaplayer)
|
void |
setPassword(char[] password)
|
void |
setTimeout(int timeout)
|
void |
setTimeZone(String timezone)
Set the timezone |
void |
setUserName(String username)
|
void |
writeData(ObjectOutputStream stream)
Write config to stream |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DreamboxConfig()
public DreamboxConfig(DreamboxConfig dreamboxConfig)
dreamboxConfig - clone this config
public DreamboxConfig(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
stream - read config from this stream
IOException - io errors
ClassNotFoundException - class errors| Method Detail |
|---|
public String getId()
public DreamboxConfig clone()
clone in class Object
public void writeData(ObjectOutputStream stream)
throws IOException
stream - write to this stream
IOException - io errorspublic DreamboxChannel getDreamboxChannelForRef(String ref)
ref - ServiceReference
null, if not foundpublic void setDreamboxAddress(String address)
address - IP-Address of the dreambox.public String getDreamboxAddress()
public void setDreamboxChannels(DreamboxChannel[] channels)
channels - all channels on the dreamboxpublic ExternalChannelIf[] getExternalChannels()
getExternalChannels in interface ConfigIfpublic ExternalChannelIf getExternalChannel(Channel channel)
getExternalChannel in interface ConfigIfchannel - get DreamboxChannel for this channel
null if not foundpublic Channel getChannel(DreamboxChannel channel)
channel - get TVBrowser channel for this channel
null if not found
public void setExternalChannel(Channel channel,
ExternalChannelIf dreamboxChannel)
setExternalChannel in interface ConfigIfchannel - TVBrowser-ChanneldreamboxChannel - DreamboxChannelpublic int getAfterTime()
public void setAfterTime(int after)
after - After recordingpublic int getPreTime()
public void setBeforeTime(int before)
before - before recordingpublic void setTimeZone(String timezone)
timezone - new Timezonepublic String getTimeZoneAsString()
public TimeZone getTimeZone()
public void setUserName(String username)
username - set the new username for authentificationpublic String getUserName()
public void setPassword(char[] password)
password - set the new password for authentificationpublic String getPassword()
public String getMediaplayer()
public void setMediaplayer(String mediaplayer)
public int getTimeout()
public void setTimeout(int timeout)
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||