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 IOutputCheckActivitydate - is the document's dateManifoldCFExceptionServiceInterruptionpublic boolean checkMimeTypeIndexable(String mimeType) throws ManifoldCFException, ServiceInterruption
checkMimeTypeIndexable in interface IOutputCheckActivitymimeType - is the mime type of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkDocumentIndexable(File localFile) throws ManifoldCFException, ServiceInterruption
checkDocumentIndexable in interface IOutputCheckActivitylocalFile - is the local file to check.ManifoldCFExceptionServiceInterruptionpublic boolean checkLengthIndexable(long length)
throws ManifoldCFException,
ServiceInterruption
checkLengthIndexable in interface IOutputCheckActivitylength - is the length of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkURLIndexable(String url) throws ManifoldCFException, ServiceInterruption
checkURLIndexable in interface IOutputCheckActivityurl - is the URL of the document.ManifoldCFExceptionServiceInterruption