TV-Browser 2.7.5 API

primarydatamanager.primarydataservice
Interface PrimaryDataService

All Known Implementing Classes:
AbstractPrimaryDataService

public interface PrimaryDataService

Gets the raw TV data for one or more TV channels.

Author:
Martin Oberhauser

Method Summary
 boolean execute(String dir, PrintStream err)
          Gets the raw TV data and writes it to a directory
 int getReadBytesCount()
          Gets the number of bytes read (= downloaded) by this data service.
 

Method Detail

execute

boolean execute(String dir,
                PrintStream err)
Gets the raw TV data and writes it to a directory

Parameters:
dir - The directory to write the raw TV data to.
err - The stream to print error messages to.
Returns:
Whether there were errors.

getReadBytesCount

int getReadBytesCount()
Gets the number of bytes read (= downloaded) by this data service.

Returns:
The number of bytes read.

TV-Browser 2.7.5 API

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