|
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.simpledevice.SimpleConfig
public class SimpleConfig
Configuration for the Device
| Constructor Summary | |
|---|---|
SimpleConfig()
Create Config |
|
SimpleConfig(ObjectInputStream stream)
Load Config |
|
SimpleConfig(SimpleConfig config)
Clone Config |
|
| Method Summary | |
|---|---|
Object |
clone()
|
ExternalChannelIf[] |
getAllExternalChannels(SimpleConnectionIf con)
|
Channel |
getChannelForExternalId(int channel)
Returns TVB Channel for external Channel ID |
HashMap<Channel,SimpleChannel> |
getChannelMapping()
Get Mapping of TVB-Channels - external Channels |
ExternalChannelIf |
getExternalChannel(Channel channel)
Get external channel for TVB Channel |
ExternalChannelIf[] |
getExternalChannels()
|
String |
getId()
|
void |
readData(ObjectInputStream stream)
Read Settings |
void |
setExternalChannel(Channel channel,
ExternalChannelIf external)
Set Mapping for Channel |
void |
setExternalChannels(SimpleChannel[] channels)
Set List of external Channels. |
void |
writeData(ObjectOutputStream stream)
Store Settings |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleConfig()
public SimpleConfig(SimpleConfig config)
config - config to clone
public SimpleConfig(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
stream - Load Config from this Stream
IOException
ClassNotFoundException| Method Detail |
|---|
public Object clone()
clone in class Objectpublic HashMap<Channel,SimpleChannel> getChannelMapping()
public ExternalChannelIf getExternalChannel(Channel channel)
getExternalChannel in interface ConfigIfchannel - Get external channel for this TVB Channel
public void setExternalChannel(Channel channel,
ExternalChannelIf external)
setExternalChannel in interface ConfigIfchannel - TVB Channelexternal - external Channelpublic void setExternalChannels(SimpleChannel[] channels)
channels - List of Channelspublic ExternalChannelIf[] getExternalChannels()
getExternalChannels in interface ConfigIfpublic ExternalChannelIf[] getAllExternalChannels(SimpleConnectionIf con)
public void readData(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
stream -
IOException
ClassNotFoundException
public void writeData(ObjectOutputStream stream)
throws IOException
stream -
IOExceptionpublic Channel getChannelForExternalId(int channel)
channel - external Channel ID
public String getId()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||