|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.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.
| Constructor Summary | |
|---|---|
LocalPluginProgramFormating()
Creates an empty instance of this class, for example for loading the values from an ObjectInputStream. |
|
LocalPluginProgramFormating(String name,
String titleValue,
String contentValue,
String encodingValue)
Creates an instance of a program configuration. |
|
LocalPluginProgramFormating(String id,
String name,
String titleValue,
String contentValue,
String encodingValue)
Creates an instance of a program configuration. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getContentValue()
Gets the value for the content formating |
String |
getEncodingValue()
Gets the value for the formating |
String |
getId()
Gets the id of this instance. |
String |
getName()
Gets the name of this configuration |
String |
getTitleValue()
Gets the value for title formating |
boolean |
isValid()
Gets if the configuration is valid. |
protected void |
loadData(ObjectInputStream in)
Creates an instance of a ProgramConfiguration from an ObjetcInputStream- |
void |
setContentValue(String value)
Sets the content formating value |
void |
setEncodingValue(String value)
Sets the encoding value of this configuraion |
void |
setName(String value)
Sets the name of this configuration |
void |
setTitleValue(String value)
Sets the title formating value |
protected void |
storeData(ObjectOutputStream out)
Saves this configuration in an ObjectOutputStream |
String |
toString()
|
| Methods inherited from class util.program.AbstractPluginProgramFormating |
|---|
readData, writeData |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalPluginProgramFormating()
public LocalPluginProgramFormating(String id,
String name,
String titleValue,
String contentValue,
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(String name,
String titleValue,
String contentValue,
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 |
|---|
public String getName()
getName in class AbstractPluginProgramFormatingpublic String getTitleValue()
getTitleValue in class AbstractPluginProgramFormatingpublic String getContentValue()
getContentValue in class AbstractPluginProgramFormatingpublic String getEncodingValue()
getEncodingValue in class AbstractPluginProgramFormatingpublic void setName(String value)
value - The new namepublic void setTitleValue(String value)
value - The new title valuepublic void setContentValue(String value)
value - The new content valuepublic void setEncodingValue(String value)
value - The new encoding
protected void loadData(ObjectInputStream in)
throws IOException,
ClassNotFoundException
loadData in class AbstractPluginProgramFormatingin - The stream to read the values from
IOException - Thrown if something goes wrong
ClassNotFoundException - Thrown if something goes wrong
protected void storeData(ObjectOutputStream out)
throws IOException
storeData in class AbstractPluginProgramFormatingout - The stream to save the values in
IOException - Thrown if something goes wrongpublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean isValid()
AbstractPluginProgramFormating
isValid in class AbstractPluginProgramFormatingpublic String getId()
AbstractPluginProgramFormating
getId in class AbstractPluginProgramFormating
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||