|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.program.AbstractPluginProgramFormating
public abstract class AbstractPluginProgramFormating
A class for a program configuration setting. This is the super class of global and local program configurations.
Field Summary | |
---|---|
protected java.lang.String |
mContentValue
|
protected java.lang.String |
mEncodingValue
|
protected java.lang.String |
mId
|
protected java.lang.String |
mName
|
protected java.lang.String |
mTitleValue
|
Constructor Summary | |
---|---|
protected |
AbstractPluginProgramFormating(java.lang.String id,
java.lang.String name,
java.lang.String titleValue,
java.lang.String contentValue,
java.lang.String encodingValue)
|
Method Summary | |
---|---|
java.lang.String |
getContentValue()
Gets the value for the content formating |
java.lang.String |
getEncodingValue()
Gets the value for the formating |
java.lang.String |
getId()
|
java.lang.String |
getName()
Gets the name of this configuration |
java.lang.String |
getTitleValue()
Gets the value for title formating |
abstract boolean |
isValid()
Gets if the configuration is valid. |
protected abstract void |
loadData(java.io.ObjectInputStream in)
|
static AbstractPluginProgramFormating |
readData(java.io.ObjectInputStream in)
Creates an instance of this class from an ObjectInputStream. |
void |
setContentValue(java.lang.String value)
Sets the content formating value |
void |
setEncodingValue(java.lang.String value)
Sets the encoding value of this configuration |
void |
setId(java.lang.String id)
|
void |
setName(java.lang.String value)
Sets the name of this configuration |
void |
setTitleValue(java.lang.String value)
Sets the title formating value |
protected abstract void |
storeData(java.io.ObjectOutputStream out)
|
java.lang.String |
toString()
|
void |
writeData(java.io.ObjectOutputStream out)
Saves the information about the program configuration values in an ObjectOutputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mId
protected java.lang.String mName
protected java.lang.String mTitleValue
protected java.lang.String mContentValue
protected java.lang.String mEncodingValue
Constructor Detail |
---|
protected AbstractPluginProgramFormating(java.lang.String id, java.lang.String name, java.lang.String titleValue, java.lang.String contentValue, java.lang.String encodingValue)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getTitleValue()
public java.lang.String getContentValue()
public java.lang.String getEncodingValue()
public void setName(java.lang.String value)
value
- The new namepublic void setTitleValue(java.lang.String value)
value
- The new title valuepublic void setContentValue(java.lang.String value)
value
- The new content valuepublic void setEncodingValue(java.lang.String value)
value
- The new encodingpublic void setId(java.lang.String id)
public static final AbstractPluginProgramFormating readData(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The stream to read the values for the instance.
null
if the instance could not be created.
java.io.IOException
- Thrown if something goes wrong;
java.lang.ClassNotFoundException
- Thrown if something goes wrong;public final void writeData(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The stream to write the data to.
java.io.IOException
- Thrown if something goes wrong.protected abstract void storeData(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
protected abstract void loadData(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public abstract boolean isValid()
public java.lang.String getId()
public java.lang.String toString()
toString
in class java.lang.Object
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |