/** * Compares the contents of a directory on the local file system with the contents of a service * resource. This comparison is performed on a map of files and a map of service objects previously * generated using other methods in this class. * * @param objectKeyToFilepathMap * map of '/'-delimited object key names to local file absolute paths * @param objectsMap * a map of keys to StorageObjects. * @param progressWatcher * watcher to monitor bytes read during comparison operations, may be null. * @return * an object containing the results of the file comparison. * * @throws NoSuchAlgorithmException * @throws FileNotFoundException * @throws IOException * @throws ParseException */ public FileComparerResults buildDiscrepancyLists(Map<String, String> objectKeyToFilepathMap, Map<String, StorageObject> objectsMap, BytesProgressWatcher progressWatcher) throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException { return buildDiscrepancyLists(objectKeyToFilepathMap, objectsMap, progressWatcher, false); }
/** * Compares the contents of a directory on the local file system with the contents of a service * resource. This comparison is performed on a map of files and a map of service objects previously * generated using other methods in this class. * * @param objectKeyToFilepathMap * map of '/'-delimited object key names to local file absolute paths * @param objectsMap * a map of keys to StorageObjects. * @return * an object containing the results of the file comparison. * * @throws NoSuchAlgorithmException * @throws FileNotFoundException * @throws IOException * @throws ParseException */ public FileComparerResults buildDiscrepancyLists( Map<String, String> objectKeyToFilepathMap, Map<String, StorageObject> objectsMap) throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException { return buildDiscrepancyLists(objectKeyToFilepathMap, objectsMap, null, false); }
/** * Compares the contents of a directory on the local file system with the contents of a service * resource. This comparison is performed on a map of files and a map of service objects previously * generated using other methods in this class. * * @param objectKeyToFilepathMap * map of '/'-delimited object key names to local file absolute paths * @param objectsMap * a map of keys to StorageObjects. * @return * an object containing the results of the file comparison. * * @throws NoSuchAlgorithmException * @throws FileNotFoundException * @throws IOException * @throws ParseException */ public FileComparerResults buildDiscrepancyLists( Map<String, String> objectKeyToFilepathMap, Map<String, StorageObject> objectsMap) throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException { return buildDiscrepancyLists(objectKeyToFilepathMap, objectsMap, null, false); }
/** * Compares the contents of a directory on the local file system with the contents of a service * resource. This comparison is performed on a map of files and a map of service objects previously * generated using other methods in this class. * * @param objectKeyToFilepathMap * map of '/'-delimited object key names to local file absolute paths * @param objectsMap * a map of keys to StorageObjects. * @param progressWatcher * watcher to monitor bytes read during comparison operations, may be null. * @return * an object containing the results of the file comparison. * * @throws NoSuchAlgorithmException * @throws FileNotFoundException * @throws IOException * @throws ParseException */ public FileComparerResults buildDiscrepancyLists(Map<String, String> objectKeyToFilepathMap, Map<String, StorageObject> objectsMap, BytesProgressWatcher progressWatcher) throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException { return buildDiscrepancyLists(objectKeyToFilepathMap, objectsMap, progressWatcher, false); }
.buildDiscrepancyLists(objectKeyToFilepathMap, s3ObjectsMap, progressWatcher);
.buildDiscrepancyLists(objectKeyToFilepathMap, s3ObjectsMap, progressWatcher);
.buildDiscrepancyLists(objectKeyToFilepathMap, s3ObjectsMap, progressWatcher);
.buildDiscrepancyLists(objectKeyToFilepathMap, s3ObjectsMap, progressWatcher);
FileComparerResults discrepancyResults = fileComparer.buildDiscrepancyLists( objectKeyToFilepathMap, objectsMap, md5GenerationProgressWatcher, isForce);
FileComparerResults discrepancyResults = fileComparer.buildDiscrepancyLists( objectKeyToFilepathMap, objectsMap, md5GenerationProgressWatcher, isForce);