Package | Description |
---|---|
ome.formats.importer.transfers |
FileTransfer provides
a mechanism for shipping client-side files to the server-side. |
ome.util.checksum |
Modifier and Type | Method and Description |
---|---|
ChecksumProvider |
TransferState.getChecksumProvider()
Get the
ChecksumProvider passed to the constructor. |
Constructor and Description |
---|
TransferState(java.io.File file,
int index,
int total,
omero.grid.ImportProcessPrx proc,
ImportLibrary library,
TimeEstimator estimator,
ChecksumProvider cp,
byte[] buf)
State of the current file transfer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChecksumProvider
Abstract skeleton class implementing
ChecksumProvider and providing
implementations of the interface methods using a universal checksum class
object. |
class |
Adler32ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using Adler32
as the message digest algorithm. |
class |
CRC32ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using
CRC32 as the message digest algorithm. |
class |
FileSizeChecksumProviderImpl
Trivial checksum provider whose hash is simply the number of bytes that were put into the calculation.
|
class |
MD5ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using MD5
as the message digest algorithm. |
class |
Murmur128ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using Murmur3_128
as the hash algorithm. |
class |
Murmur32ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using Murmur3_32
as the hash algorithm. |
class |
SHA1ChecksumProviderImpl
An implementation of the
ChecksumProvider interface using SHA1
as the secure hash algorithm. |
Modifier and Type | Method and Description |
---|---|
ChecksumProvider |
ChecksumProviderFactory.getProvider(ChecksumType checksumType)
Returns an implementation of
ChecksumProvider depending on the
specified ChecksumType . |
ChecksumProvider |
ChecksumProviderFactoryImpl.getProvider(ChecksumType checksumType) |
ChecksumProvider |
AbstractChecksumProvider.putBytes(byte[] byteArray) |
ChecksumProvider |
ChecksumProvider.putBytes(byte[] byteArray)
Updates the internal checksum value with data from a byte array.
|
ChecksumProvider |
FileSizeChecksumProviderImpl.putBytes(byte[] byteArray) |
ChecksumProvider |
AbstractChecksumProvider.putBytes(byte[] byteArray,
int offset,
int length) |
ChecksumProvider |
ChecksumProvider.putBytes(byte[] byteArray,
int offset,
int length)
Updates the internal checksum value with data from a chunk of a byte
array.
|
ChecksumProvider |
FileSizeChecksumProviderImpl.putBytes(byte[] byteArray,
int offset,
int length) |
ChecksumProvider |
AbstractChecksumProvider.putBytes(java.nio.ByteBuffer byteBuffer) |
ChecksumProvider |
ChecksumProvider.putBytes(java.nio.ByteBuffer byteBuffer)
Updates the internal checksum value with data from a byte buffer.
|
ChecksumProvider |
FileSizeChecksumProviderImpl.putBytes(java.nio.ByteBuffer byteBuffer) |
ChecksumProvider |
AbstractChecksumProvider.putFile(java.lang.String filePath) |
ChecksumProvider |
ChecksumProvider.putFile(java.lang.String filePath)
Updates the internal checksum value with data from a file identified by a
path.
|
ChecksumProvider |
FileSizeChecksumProviderImpl.putFile(java.lang.String filePath) |
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.