public class LocalPluginProgramFormating extends AbstractPluginProgramFormating
mContentValue, mEncodingValue, mId, mName, mTitleValue
Constructor and Description |
---|
LocalPluginProgramFormating()
Creates an empty instance of this class,
for example for loading the values from
an ObjectInputStream.
|
LocalPluginProgramFormating(java.lang.String name,
java.lang.String titleValue,
java.lang.String contentValue,
java.lang.String encodingValue)
Creates an instance of a program configuration.
|
LocalPluginProgramFormating(java.lang.String id,
java.lang.String name,
java.lang.String titleValue,
java.lang.String contentValue,
java.lang.String encodingValue)
Creates an instance of a program configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isValid()
Gets if the configuration is valid.
|
protected void |
loadData(java.io.ObjectInputStream in)
Creates an instance of a ProgramConfiguration from an ObjetcInputStream-
|
protected void |
storeData(java.io.ObjectOutputStream out)
Saves this configuration in an ObjectOutputStream
|
getContentValue, getEncodingValue, getId, getName, getTitleValue, readData, setContentValue, setEncodingValue, setId, setName, setTitleValue, toString, writeData
public LocalPluginProgramFormating()
public LocalPluginProgramFormating(java.lang.String id, java.lang.String name, java.lang.String titleValue, java.lang.String contentValue, java.lang.String encodingValue)
id
- The id of this formating.name
- The name of the configuration.titleValue
- The value for the title configuration.contentValue
- The value for the content.encodingValue
- The encoding value.public LocalPluginProgramFormating(java.lang.String name, java.lang.String titleValue, java.lang.String contentValue, java.lang.String encodingValue)
name
- The name of the configuration.titleValue
- The value for the title configuration.contentValue
- The value for the content.encodingValue
- The encoding value.protected void loadData(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
loadData
in class AbstractPluginProgramFormating
in
- The stream to read the values fromjava.io.IOException
- Thrown if something goes wrongjava.lang.ClassNotFoundException
- Thrown if something goes wrongprotected void storeData(java.io.ObjectOutputStream out) throws java.io.IOException
storeData
in class AbstractPluginProgramFormating
out
- The stream to save the values injava.io.IOException
- Thrown if something goes wrongpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isValid()
AbstractPluginProgramFormating
isValid
in class AbstractPluginProgramFormating
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)