TV-Browser 2.7.5 API

captureplugin.utils
Class DeviceImportAndExport

java.lang.Object
  extended by captureplugin.utils.DeviceImportAndExport

public class DeviceImportAndExport
extends Object

This Class handles the im- and eexport of Device-Files

Author:
Bodo Tasche

Constructor Summary
DeviceImportAndExport()
           
 
Method Summary
 boolean exportDevice(DevicePanel panel, DeviceIf device, File file)
          Export a Device
 String getError()
          Gets the Error-Description
 Exception getException()
          Gets the Exception
 DeviceIf importDevice(CapturePluginData data, JPanel panel, File file)
          Import a Device
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceImportAndExport

public DeviceImportAndExport()
Method Detail

getError

public String getError()
Gets the Error-Description

Returns:
Error-Description

getException

public Exception getException()
Gets the Exception

Returns:
Exception

importDevice

public DeviceIf importDevice(CapturePluginData data,
                             JPanel panel,
                             File file)
Import a Device

Parameters:
data - CapturePlugin-Data
panel - Panel is needed for JDialogs
file - File to Import
Returns:
Imported Device, null if an error occured

exportDevice

public boolean exportDevice(DevicePanel panel,
                            DeviceIf device,
                            File file)
Export a Device

Parameters:
panel - Panel is needed for JDialogs
device - the Device to Export
file - File to Export
Returns:
true if successfully

TV-Browser 2.7.5 API

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