TV-Browser 2.7.5 API

primarydatamanager.mirrorupdater.data
Class HttpDataSource

java.lang.Object
  extended by primarydatamanager.mirrorupdater.data.HttpDataSource
All Implemented Interfaces:
DataSource

public class HttpDataSource
extends Object
implements DataSource

Author:
Til Schneider, www.murfman.de

Constructor Summary
HttpDataSource(String url)
           
 
Method Summary
 void close()
           
 boolean fileExists(String fileName)
           
 byte[] loadFile(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDataSource

public HttpDataSource(String url)
Method Detail

fileExists

public boolean fileExists(String fileName)
                   throws UpdateException
Specified by:
fileExists in interface DataSource
Throws:
UpdateException

loadFile

public byte[] loadFile(String fileName)
                throws UpdateException
Specified by:
loadFile in interface DataSource
Throws:
UpdateException

close

public void close()
           throws UpdateException
Specified by:
close in interface DataSource
Throws:
UpdateException

TV-Browser 2.7.5 API

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