public class OperatorUtil extends Object
Constructor and Description |
---|
OperatorUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
computeMd5(CheckedFileIO fileChannel) |
static SegmentState |
findMaxSegmentState(Map<UUID,SegmentState> segmentStates)
Find the Max segment in the given segment map.
|
static Header |
getFtpsHeader(File stateFile)
Get the header of given Ftps file
|
public static SegmentState findMaxSegmentState(Map<UUID,SegmentState> segmentStates)
public static Header getFtpsHeader(File stateFile) throws IOException
IOException
public static String computeMd5(CheckedFileIO fileChannel) throws IOException, NoSuchAlgorithmException
IOException
NoSuchAlgorithmException