public class DeviceConfig extends Object
Constructor and Description |
---|
DeviceConfig()
Create a empty Config
|
DeviceConfig(DeviceConfig data)
Copy Config
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
TreeMap |
getChannels() |
boolean |
getDialogOnlyOnError() |
Collection |
getEnabledParamList()
Get a Collection of all enabled Params
|
ProgramTimeList |
getMarkedPrograms() |
int |
getMaxSimultanious()
Gets the maximum simultanious recordings for this device
|
String |
getName()
return
|
boolean |
getOnlyFuturePrograms() |
String |
getParameterFormatAdd() |
String |
getParameterFormatRem() |
Collection |
getParamList() |
String |
getPassword() |
int |
getPostTime() |
int |
getPreTime() |
String |
getProgramPath() |
int |
getTimeOut()
Get the Timeout in secs
|
TimeZone |
getTimeZone()
Return the current TimeZone
|
String |
getUserName() |
boolean |
getUseWebUrl() |
Collection |
getVariables()
Get the Variables
|
String |
getWebUrl() |
void |
readData(ObjectInputStream stream)
Read the Config from a Stream
|
void |
setChannels(TreeMap channels) |
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 paramList) |
void |
setPassword(String password) |
void |
setPostTime(int i) |
void |
setPreTime(int i) |
void |
setProgramPath(String string) |
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 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
|
public DeviceConfig()
public DeviceConfig(DeviceConfig data)
config
- public void setParamList(Collection paramList)
paramList
- public Collection getParamList()
public Collection 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 channels)
channels
- The channels to set.public TreeMap getChannels()
public 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 getVariables()
public void setVariables(Collection 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
- TimeZonepublic void writeData(ObjectOutputStream stream) throws IOException
stream
- IOException
public void readData(ObjectInputStream stream) throws IOException, ClassNotFoundException
stream
- IOException
ClassNotFoundException
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)