public static OfficeFinder getFinder(final MsOfficeType contentType) {
    OsEnum os = OsEnum.getOS(System.getProperty("os.name"));
    switch (os) {
      case WINDOWS_XP:
      case WINDOWS_VISTA:
      case WINDOWS_SEVEN:
      case WINDOWS_8:
        if (contentType.isMsOfficeCompatible()) {
        return new MsOfficeRegistryHelper();
      }
        return new WindowsOpenOfficeFinder();
      case LINUX:
        return new WhereisHelper();
      case MAC_OSX:
        return new MacOsOfficeFinder();
      default:
        return new WhereisHelper();
    }
  }