public class FilenameExclusion extends AbstractFileExclusion
Voter which checks the filename (not full path) of a
given File along with the checksum to detect duplicates. If
either the checksum or the checksum algorithm are null, then no detection
will be attempted, i.e. the voter will return a null to abstain.AbstractFileExclusion.Exclusion| Constructor and Description |
|---|
FilenameExclusion() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
suggestExclusion(ServiceFactoryPrx factory,
ImportContainer container)
|
checksum, createExclusionpublic java.lang.Boolean suggestExclusion(ServiceFactoryPrx factory, ImportContainer container) throws ServerError
FileExclusionsession attempt to discover
if the given container should be skipped, i.e.
not imported.ServerError