primarydatamanager.mirrorupdater.data
Class FileDataSource
java.lang.Object
primarydatamanager.mirrorupdater.data.FileDataSource
- All Implemented Interfaces:
- DataSource
public class FileDataSource
- extends Object
- implements DataSource
- Author:
- Til Schneider, www.murfman.de
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDataSource
public FileDataSource(File dir)
- Parameters:
dir -
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, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)