|
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.defaultdriver.DeviceConfig
public class DeviceConfig
The Configuration for this Device
| Constructor Summary | |
|---|---|
DeviceConfig()
Create a empty Config |
|
DeviceConfig(DeviceConfig data)
Copy Config |
|
| Method Summary | |
|---|---|
Object |
clone()
|
TreeMap<Channel,String> |
getChannels()
|
boolean |
getDeleteRemovedPrograms()
Gets if the programs that were removed during a data update should be deleted. |
boolean |
getDialogOnlyOnError()
|
Collection<ParamEntry> |
getEnabledParamList()
Get a Collection of all enabled Params |
String |
getId()
|
ProgramTimeList |
getMarkedPrograms()
|
int |
getMaxSimultanious()
Gets the maximum simultanious recordings for this device |
String |
getName()
return |
boolean |
getOnlyFuturePrograms()
|
String |
getParameterFormatAdd()
|
String |
getParameterFormatRem()
|
Collection<ParamEntry> |
getParamList()
|
String |
getPassword()
|
int |
getPostTime()
|
int |
getPreTime()
|
String |
getProgramPath()
|
boolean |
getShowTitleAndTimeDialog()
Gets the show title and time dialog state. |
int |
getTimeOut()
Get the Timeout in secs |
TimeZone |
getTimeZone()
Return the current TimeZone |
String |
getUserName()
|
boolean |
getUseWebUrl()
|
Collection<Variable> |
getVariables()
Get the Variables |
String |
getWebUrl()
|
void |
readData(ObjectInputStream stream,
boolean importDevice)
Read the Config from a Stream |
void |
setChannels(TreeMap<Channel,String> channels)
|
void |
setDeleteRemovedPrograms(boolean value)
Sets if the programs that were removed during a data update should be deleted. |
void |
setDialogOnlyOnError(boolean dialogOnlyOnError)
|
void |
setMarkedPrograms(ProgramTimeList markedPrograms)
|
void |
setMaxSimultanious(int max)
Sets the maximum simultanious recordings for this device |
void |
setName(String name)
|
void |
setOnlyFuturePrograms(boolean onlyFuturePrograms)
|
void |
setParameterFormatAdd(String add)
|
void |
setParameterFormatRem(String rem)
|
void |
setParamList(Collection<ParamEntry> paramList)
|
void |
setPassword(String password)
|
void |
setPostTime(int i)
|
void |
setPreTime(int i)
|
void |
setProgramPath(String string)
|
void |
setShowTitleAndTimeDialog(boolean value)
Set the show title and time dialog state. |
void |
setTimeOut(int sec)
Set the sec to timeout |
void |
setTimeZone(TimeZone timeZone)
Set the TimeZone |
void |
setUseReturnValue(boolean retvalue)
Use the Return Value? |
void |
setUserName(String user)
|
void |
setUseTimeZone(boolean timeZone)
Use TimeZone Settings ? |
void |
setUseWebUrl(boolean urlmode)
|
void |
setVariables(Collection<Variable> variables)
Set the Variables |
void |
setWebUrl(String url)
|
boolean |
useReturnValue()
Use the Return-Value ? |
boolean |
useTimeZone()
Use TimeZone Settings ? |
void |
writeData(ObjectOutputStream stream)
Write the Config into a Stream |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceConfig()
public DeviceConfig(DeviceConfig data)
data - Config to copy| Method Detail |
|---|
public void setParamList(Collection<ParamEntry> paramList)
paramList - public Collection<ParamEntry> getParamList()
public Collection<ParamEntry> getEnabledParamList()
public void setOnlyFuturePrograms(boolean onlyFuturePrograms)
onlyFuturePrograms - public boolean getOnlyFuturePrograms()
public void setDialogOnlyOnError(boolean dialogOnlyOnError)
dialogOnlyOnError - public boolean getDialogOnlyOnError()
public int getPreTime()
public void setPreTime(int i)
i - public int getPostTime()
public void setPostTime(int i)
i - public String getProgramPath()
public void setProgramPath(String string)
string - public boolean getUseWebUrl()
public void setUseWebUrl(boolean urlmode)
urlmode - public String getWebUrl()
public void setWebUrl(String url)
url - public void setMarkedPrograms(ProgramTimeList markedPrograms)
markedPrograms - The markedPrograms to set.public ProgramTimeList getMarkedPrograms()
public String getPassword()
public void setPassword(String password)
password - public String getUserName()
public void setUserName(String user)
user - public String getParameterFormatAdd()
public void setParameterFormatAdd(String add)
add - public String getParameterFormatRem()
public void setParameterFormatRem(String rem)
rem - public void setChannels(TreeMap<Channel,String> channels)
channels - The channels to set.public TreeMap<Channel,String> getChannels()
public Object clone()
clone in class Objectpublic void setName(String name)
name - public String getName()
public boolean useReturnValue()
public void setUseReturnValue(boolean retvalue)
retvalue - Use Return Value ?public int getMaxSimultanious()
public void setMaxSimultanious(int max)
max - simultanious recordingspublic void setTimeOut(int sec)
sec - Secspublic int getTimeOut()
public Collection<Variable> getVariables()
public void setVariables(Collection<Variable> variables)
variables - Variablespublic boolean useTimeZone()
public void setUseTimeZone(boolean timeZone)
timeZone - true if User wants to overide the TimeZonepublic TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
timeZone - TimeZone
public void writeData(ObjectOutputStream stream)
throws IOException
stream -
IOException
public void readData(ObjectInputStream stream,
boolean importDevice)
throws IOException,
ClassNotFoundException
stream - The stream to read from.importDevice - True if a device should be imported.
IOException
ClassNotFoundExceptionpublic String getId()
public void setShowTitleAndTimeDialog(boolean value)
value - true if the dialog should be shown false otherwise.public boolean getShowTitleAndTimeDialog()
true if the dialog should be shown, false otherwise.public void setDeleteRemovedPrograms(boolean value)
value - true if the programs should be deleted automatically false otherwise.public boolean getDeleteRemovedPrograms()
true if the programs should be deleted automatically, false otherwise.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||