public abstract class AbstractPluginProgramFormating extends Object
Constructor and Description |
---|
AbstractPluginProgramFormating() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getContentValue()
Gets the value for the content formating
|
abstract String |
getEncodingValue()
Gets the value for the formating
|
abstract String |
getId()
Gets the id of this instance.
|
abstract String |
getName()
Gets the name of this configuration
|
abstract String |
getTitleValue()
Gets the value for title formating
|
abstract boolean |
isValid()
Gets if the configuration is valid.
|
protected abstract void |
loadData(ObjectInputStream in) |
static AbstractPluginProgramFormating |
readData(ObjectInputStream in)
Creates an instance of this class from an ObjectInputStream.
|
protected abstract void |
storeData(ObjectOutputStream out) |
void |
writeData(ObjectOutputStream out)
Saves the information about the program configuration
values in an ObjectOutputStream.
|
public abstract String getName()
public abstract String getTitleValue()
public abstract String getContentValue()
public abstract String getEncodingValue()
public static final AbstractPluginProgramFormating readData(ObjectInputStream in) throws IOException, ClassNotFoundException
in
- The stream to read the values for the instance.null
if the instance could not be created.IOException
- Thrown if something goes wrong;ClassNotFoundException
- Thrown if something goes wrong;public final void writeData(ObjectOutputStream out) throws IOException
out
- The stream to write the data to.IOException
- Thrown if something goes wrong.protected abstract void storeData(ObjectOutputStream out) throws IOException
IOException
protected abstract void loadData(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public abstract boolean isValid()
public abstract String getId()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)