jeroen.film
Class Options

java.lang.Object
  |
  +--jeroen.film.Options
All Implemented Interfaces:
ActionListener, EventListener, LeesSchrijfbaar

public class Options
extends Object
implements LeesSchrijfbaar, ActionListener

Object dat de opties bijhoudt.


Field Summary
 float alpha
           
 float beta
           
static Options current
           
 File filmDbFile
           
 float gamma
           
 String imageDir
           
 String imageUrl
           
 File keywordIndexFile
           
 float minimumProfielLemmaGewicht
           
 boolean nGrams
           
static File OPTIONFILE
           
 File profielFile
           
 int searchMaxTests
          Maximum aantal films dat getest mag worden bij één zoekbewerking.
 float searchMinWeight
          Minimum gewicht voor films die bij een zoekbewerking opgeleverd worden.
 String tvUrl
           
static Venster venster
           
 int verbose
           
 
Constructor Summary
Options(DataInput source)
           
Options(File f)
           
 
Method Summary
 void actionPerformed(ActionEvent ae)
           
 void toDataOutput(DataOutput target)
          Schrijf dit object naar een DataOutput.
 void toFile(File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTIONFILE

public static final File OPTIONFILE

current

public static Options current

searchMaxTests

public int searchMaxTests
Maximum aantal films dat getest mag worden bij één zoekbewerking. Default = 500.

searchMinWeight

public float searchMinWeight
Minimum gewicht voor films die bij een zoekbewerking opgeleverd worden. Default = 0.01.

alpha

public float alpha

beta

public float beta

gamma

public float gamma

minimumProfielLemmaGewicht

public float minimumProfielLemmaGewicht

imageDir

public String imageDir

imageUrl

public String imageUrl

tvUrl

public String tvUrl

verbose

public int verbose

profielFile

public File profielFile

filmDbFile

public File filmDbFile

keywordIndexFile

public File keywordIndexFile

nGrams

public boolean nGrams

venster

public static Venster venster
Constructor Detail

Options

public Options(DataInput source)
        throws IOException

Options

public Options(File f)
        throws IOException
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

toFile

public void toFile(File f)
            throws IOException

actionPerformed

public void actionPerformed(ActionEvent ae)
Specified by:
actionPerformed in interface ActionListener