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
BaseFileExclusionimplementation primarily providing a factory forFileExclusionimplementations viacreateExclusion(String).- Since:
- 5.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractFileExclusion.ExclusionEnum of well-knownFileExclusionnames.
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description AbstractFileExclusion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Stringchecksum(java.lang.String filename, ChecksumAlgorithm checksumAlgorithm)static FileExclusioncreateExclusion(java.lang.String arg)Factory method for instantiatingFileTransferobjects 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 instantiatingFileTransferobjects from a string. Supported values can be found in theAbstractFileTransfer.Transfersenum. 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)
-
-