TV-Browser 2.7.5 API

captureplugin
Class CapturePluginData

java.lang.Object
  extended by captureplugin.CapturePluginData
All Implemented Interfaces:
Cloneable

public class CapturePluginData
extends Object
implements Cloneable

This Class contains all needed Data


Constructor Summary
CapturePluginData()
          Default Constructor
CapturePluginData(CapturePluginData data)
          Copies Settings from another Data-Object
 
Method Summary
 Object clone()
          Clones this Object
 DeviceIf[] getDeviceArray()
          Returns all Devices as Array
 Collection<DeviceIf> getDevices()
          Returns all Devices
 int getMarkPriority()
          Gets the mark priority used by capture plugin.
 void readData(ObjectInputStream in, CapturePlugin p)
          Loads the Data from an InputStream
 void setMarkPriority(int priority)
          Sets the mark priority used by capture plguin.
 void writeData(ObjectOutputStream out)
          Writes the Data to an OuputStream
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapturePluginData

public CapturePluginData()
Default Constructor


CapturePluginData

public CapturePluginData(CapturePluginData data)
Copies Settings from another Data-Object

Parameters:
data - Data object to copy
Method Detail

writeData

public void writeData(ObjectOutputStream out)
               throws IOException
Writes the Data to an OuputStream

Parameters:
out - write here
Throws:
IOException - problems while writing

readData

public void readData(ObjectInputStream in,
                     CapturePlugin p)
              throws IOException,
                     ClassNotFoundException
Loads the Data from an InputStream

Parameters:
in - InputStream
p - Plugin
Throws:
IOException - problems while reading
ClassNotFoundException - class creation problems

getDevices

public Collection<DeviceIf> getDevices()
Returns all Devices

Returns:
Devices

getDeviceArray

public DeviceIf[] getDeviceArray()
Returns all Devices as Array

Returns:
Devices

clone

public Object clone()
Clones this Object

Overrides:
clone in class Object

getMarkPriority

public int getMarkPriority()
Gets the mark priority used by capture plugin.

Returns:
The current mark priority
Since:
2.12

setMarkPriority

public void setMarkPriority(int priority)
Sets the mark priority used by capture plguin.

Parameters:
priority - The new mark priority.
Since:
2.12

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)