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 IOutputCheckActivity
date
- is the document's dateManifoldCFException
ServiceInterruption
public boolean checkMimeTypeIndexable(java.lang.String mimeType) throws ManifoldCFException, ServiceInterruption
checkMimeTypeIndexable
in interface IOutputCheckActivity
mimeType
- is the mime type of the document.ManifoldCFException
ServiceInterruption
public boolean checkDocumentIndexable(java.io.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(java.lang.String url) throws ManifoldCFException, ServiceInterruption
checkURLIndexable
in interface IOutputCheckActivity
url
- is the URL of the document.ManifoldCFException
ServiceInterruption