jeroen.film
Class Plots
java.lang.Object
|
+--jeroen.film.Plots
- All Implemented Interfaces:
- LeesSchrijfbaar
- public class Plots
- extends Object
- implements LeesSchrijfbaar
Een serie plots.
|
Constructor Summary |
Plots(DataInput source)
Leest een Plots van schijf. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Plots
public Plots(DataInput source)
throws IOException
- Leest een Plots van schijf. Dit object
is daarna onveranderbaar.
toDataOutput
public void toDataOutput(DataOutput target)
throws IOException
- Description copied from interface:
LeesSchrijfbaar
- Schrijf dit object naar een DataOutput.
- Specified by:
toDataOutput in interface LeesSchrijfbaar
addPlot
public void addPlot(String plot,
String author)
- Voeg een plot toe aan deze film. Dit plot kan voor twee dingen gebruikt worden:
1) Document representative aanmaken
2) Extra informatie weergeven bij deze film
Kan alleen als de constructor zonder
argementen gebruikt is.
alsStringArray
public String[] alsStringArray()
- It's all in the name
toHTML
public String toHTML()