public interface ITransformationCheckActivity
Modifier and Type | Method and Description |
---|---|
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.
|
static final String _rcsid
boolean checkMimeTypeIndexable(String mimeType) throws ManifoldCFException, ServiceInterruption
mimeType
- is the mime type of the document.ManifoldCFException
ServiceInterruption
boolean checkDocumentIndexable(File localFile) throws ManifoldCFException, ServiceInterruption
localFile
- is the local file to check.ManifoldCFException
ServiceInterruption
boolean checkLengthIndexable(long length) throws ManifoldCFException, ServiceInterruption
length
- is the length of the document.ManifoldCFException
ServiceInterruption
boolean checkURLIndexable(String url) throws ManifoldCFException, ServiceInterruption
url
- is the URL of the document.ManifoldCFException
ServiceInterruption