protected static class WorkerThread.CheckActivity extends java.lang.Object implements IOutputCheckActivity
_rcsid| Constructor and Description |
|---|
CheckActivity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDateIndexable(java.util.Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
checkDocumentIndexable(java.io.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(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
public boolean checkDateIndexable(java.util.Date date)
throws ManifoldCFException,
ServiceInterruption
checkDateIndexable in interface IOutputCheckActivitydate - is the document's dateManifoldCFExceptionServiceInterruptionpublic boolean checkMimeTypeIndexable(java.lang.String mimeType)
throws ManifoldCFException,
ServiceInterruption
checkMimeTypeIndexable in interface IOutputCheckActivitymimeType - is the mime type of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkDocumentIndexable(java.io.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(java.lang.String url)
throws ManifoldCFException,
ServiceInterruption
checkURLIndexable in interface IOutputCheckActivityurl - is the URL of the document.ManifoldCFExceptionServiceInterruption