dk.netarkivet.archive.indexserver
Class DigestOptions

java.lang.Object
  extended by dk.netarkivet.archive.indexserver.DigestOptions

public class DigestOptions
extends java.lang.Object

Encapsulates the options for the indexing process.


Constructor Summary
DigestOptions(boolean useMimefilterAsBlacklist, boolean verboseIndexing, java.lang.String theMimeFilter)
          Set the needed options used by the DigestIndexer.
 
Method Summary
 java.lang.String getMimeFilter()
           
 boolean getUseBlacklist()
           
 boolean getVerboseMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestOptions

public DigestOptions(boolean useMimefilterAsBlacklist,
                     boolean verboseIndexing,
                     java.lang.String theMimeFilter)
Set the needed options used by the DigestIndexer.

Parameters:
useMimefilterAsBlacklist - Are we using the mimeFilter as a black or a whitelist.
verboseIndexing - print logging to stdout while indexing, or not.
theMimeFilter - The given black or whitelist according to mimetype.
Method Detail

getUseBlacklist

public boolean getUseBlacklist()
Returns:
true if we use the mimefilter as a blacklist; false otherwise

getVerboseMode

public boolean getVerboseMode()
Returns:
true, if we are verbose; otherwise false

getMimeFilter

public java.lang.String getMimeFilter()
Returns:
the mimefilter