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(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 java.lang.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.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.