|
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 util.program.LocalPluginProgramFormating
public class LocalPluginProgramFormating
Settings for program formating. This is the class for using for creating configuration used only by the plugin which creates the instance of this class.
Field Summary |
---|
Fields inherited from class util.program.AbstractPluginProgramFormating |
---|
mContentValue, mEncodingValue, mId, mName, mTitleValue |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class util.program.AbstractPluginProgramFormating |
---|
getContentValue, getEncodingValue, getId, getName, getTitleValue, readData, setContentValue, setEncodingValue, setId, setName, setTitleValue, toString, writeData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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 from
java.io.IOException
- Thrown if something goes wrong
java.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 in
java.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.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |