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 |
---|---|
Boolean |
suggestExclusion(omero.api.ServiceFactoryPrx factory,
ImportContainer container)
Given the current
session attempt to discover
if the given container should be skipped, i.e. |
checksum, createExclusion
public Boolean suggestExclusion(omero.api.ServiceFactoryPrx factory, ImportContainer container) throws omero.ServerError
FileExclusion
session
attempt to discover
if the given container
should be skipped, i.e.
not imported.omero.ServerError
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.