tvbrowserdataservice.file
Class AbstractFile
java.lang.Object
tvbrowserdataservice.file.AbstractFile
- Direct Known Subclasses:
- DayProgramFile, SummaryFile
public abstract class AbstractFile
- extends Object
Holds the common code of the file classes.
- Author:
- Til Schneider, www.murfman.de
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFile
public AbstractFile()
readFromFile
public void readFromFile(File file)
throws IOException,
FileFormatException
- Throws:
IOException
FileFormatException
readFromStream
public abstract void readFromStream(InputStream stream,
DownloadJob job)
throws IOException,
FileFormatException
- Throws:
IOException
FileFormatException
writeToFile
public void writeToFile(File file)
throws IOException,
FileFormatException
- Throws:
IOException
FileFormatException
writeToStream
public abstract void writeToStream(OutputStream stream,
File file)
throws IOException,
FileFormatException
- Throws:
IOException
FileFormatException
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)