Package ome.formats.importer.exclusions
Class AbstractFileExclusion
- java.lang.Object
-
- ome.formats.importer.exclusions.AbstractFileExclusion
-
- All Implemented Interfaces:
FileExclusion
- Direct Known Subclasses:
ClientPathExclusion
,FilenameExclusion
public abstract class AbstractFileExclusion extends java.lang.Object implements FileExclusion
BaseFileExclusion
implementation primarily providing a factory forFileExclusion
implementations viacreateExclusion(String)
.- Since:
- 5.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractFileExclusion.Exclusion
Enum of well-knownFileExclusion
names.
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description AbstractFileExclusion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
checksum(java.lang.String filename, ChecksumAlgorithm checksumAlgorithm)
static FileExclusion
createExclusion(java.lang.String arg)
Factory method for instantiatingFileTransfer
objects from a string.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ome.formats.importer.exclusions.FileExclusion
suggestExclusion
-
-
-
-
Method Detail
-
createExclusion
public static FileExclusion createExclusion(java.lang.String arg)
Factory method for instantiatingFileTransfer
objects from a string. Supported values can be found in theAbstractFileTransfer.Transfers
enum. Otherwise, a FQN for a class on the classpath should be passed in.- Parameters:
arg
- non-null
-
checksum
protected java.lang.String checksum(java.lang.String filename, ChecksumAlgorithm checksumAlgorithm)
-
-