static BackupInspector createInspector(final File backupDir) throws IOException {
    if (SystemUtils.isWindows()) {
      return new WindowsBackupInspector(backupDir);
    }

    return new UnixBackupInspector(backupDir);
  }
Returns a BackupInspector for a member's backup directory.

@param backupDir a member's backup directory.
@return a new BackupInspector.
@throws IOException the backup directory was malformed.
geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupInspector.java