dk.netarkivet.archive.indexserver
Class DigestOptions
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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