Package ome.util.checksum
Interface ChecksumProviderFactory
-
- All Known Implementing Classes:
ChecksumProviderFactoryImpl
public interface ChecksumProviderFactory
A factory producing throw-away objects of theChecksumProvider
type.- Since:
- 4.4.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<ChecksumType>
getAvailableTypes()
ChecksumProvider
getProvider(ChecksumType checksumType)
Returns an implementation ofChecksumProvider
depending on the specifiedChecksumType
.
-
-
-
Method Detail
-
getProvider
ChecksumProvider getProvider(ChecksumType checksumType)
Returns an implementation ofChecksumProvider
depending on the specifiedChecksumType
.- Parameters:
checksumType
- The type of requestedChecksumProvider
.- Returns:
- The
ChecksumProvider
implementation.
-
getAvailableTypes
java.util.Set<ChecksumType> getAvailableTypes()
- Returns:
- the values for which this instance creates a corresponding provider from
getProvider(ChecksumType)
-
-