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.
 
Method Summary
 void addPlot(String plot, String author)
          Voeg een plot toe aan deze film.
 String[] alsStringArray()
          It's all in the name
 void toDataOutput(DataOutput target)
          Schrijf dit object naar een DataOutput.
 String toHTML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plots

public Plots(DataInput source)
      throws IOException
Leest een Plots van schijf. Dit object is daarna onveranderbaar.
Method Detail

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()