public abstract class AbstractPluginProgramFormating
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPluginProgramFormating(java.lang.String id,
java.lang.String name,
java.lang.String titleValue,
java.lang.String contentValue,
java.lang.String encodingValue) |
Modifier and Type | Method and Description |
---|---|
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.
|
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
protected AbstractPluginProgramFormating(java.lang.String id, java.lang.String name, java.lang.String titleValue, java.lang.String contentValue, java.lang.String encodingValue)
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.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)