protected static class WorkerThread.CheckActivity extends Object implements IOutputCheckActivity
_rcsid
Constructor and Description |
---|
WorkerThread.CheckActivity() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkDateIndexable(Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
checkURLIndexable(String url)
Pre-determine whether a document's URL is acceptable downstream.
|
public boolean checkDateIndexable(Date date) throws ManifoldCFException, ServiceInterruption
checkDateIndexable
in interface IOutputCheckActivity
date
- is the document's dateManifoldCFException
ServiceInterruption
public boolean checkMimeTypeIndexable(String mimeType) throws ManifoldCFException, ServiceInterruption
checkMimeTypeIndexable
in interface IOutputCheckActivity
mimeType
- is the mime type of the document.ManifoldCFException
ServiceInterruption
public boolean checkDocumentIndexable(File localFile) throws ManifoldCFException, ServiceInterruption
checkDocumentIndexable
in interface IOutputCheckActivity
localFile
- is the local file to check.ManifoldCFException
ServiceInterruption
public boolean checkLengthIndexable(long length) throws ManifoldCFException, ServiceInterruption
checkLengthIndexable
in interface IOutputCheckActivity
length
- is the length of the document.ManifoldCFException
ServiceInterruption
public boolean checkURLIndexable(String url) throws ManifoldCFException, ServiceInterruption
checkURLIndexable
in interface IOutputCheckActivity
url
- is the URL of the document.ManifoldCFException
ServiceInterruption