public abstract class AbstractFile extends Object
Constructor and Description |
---|
AbstractFile() |
Modifier and Type | Method and Description |
---|---|
void |
readFromFile(File file) |
abstract void |
readFromStream(InputStream stream,
DownloadJob job) |
void |
writeToFile(File file) |
abstract void |
writeToStream(OutputStream stream,
File file) |
public void readFromFile(File file) throws IOException, FileFormatException
IOException
FileFormatException
public abstract void readFromStream(InputStream stream, DownloadJob job) throws IOException, FileFormatException
IOException
FileFormatException
public void writeToFile(File file) throws IOException, FileFormatException
IOException
FileFormatException
public abstract void writeToStream(OutputStream stream, File file) throws IOException, FileFormatException
IOException
FileFormatException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)