be.lassi.io
Class ShowWriter
java.lang.Object
be.lassi.io.ShowWriter
public class ShowWriter
- extends java.lang.Object
Writes a show to a file on disk.
Constructor Summary |
ShowWriter(java.lang.String filename)
Constructs a new writer. |
Method Summary |
void |
write(Show show)
Writes given show to disk. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowWriter
public ShowWriter(java.lang.String filename)
throws ShowFileException
- Constructs a new writer.
- Parameters:
filename
- the name of the file on disk
- Throws:
ShowFileException
- if problem
write
public void write(Show show)
throws ShowFileException
- Writes given show to disk.
- Parameters:
show
- the show to be written to disk
- Throws:
ShowFileException
- if problem