public class ParamEntry extends Object
Constructor and Description |
---|
ParamEntry()
Createa a empty Param
|
ParamEntry(String name,
String param,
boolean enabled)
Creates a Param
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get Name
|
String |
getParam()
Get Param
|
boolean |
isEnabled() |
void |
readData(ObjectInputStream in)
Read Data from Stream
|
void |
setEnabled(boolean enabled)
Enable/Disable Param
|
void |
setName(String name)
Set Name
|
void |
setParam(String param)
Set Param
|
String |
toString()
Returns Name
|
void |
writeData(ObjectOutputStream out)
Save data to Stream
|
public void writeData(ObjectOutputStream out) throws IOException
out
- save to this streamIOException
- during save operationpublic void readData(ObjectInputStream in) throws IOException, ClassNotFoundException
in
- read data from this streamIOException
- read errorsClassNotFoundException
- problems while creating classespublic String getName()
public void setName(String name)
name
- new name of this paramentrypublic String getParam()
public void setParam(String param)
param
- new parameterpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- true, if this param should be enabledTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)