docs: public void saveAsPropertyBundle() throws UnsupportedEncodingException, CmsException, IOException {
  
          switch (m_bundleType) {
              case XML:
                  saveLocalization();
                  loadAllRemainingLocalizations();
                  createPropertyVfsBundleFiles();
                  saveToPropertyVfsBundle();
                  m_bundleType = BundleType.PROPERTY;
                  removeXmlBundleFile();
  
                  break;
              default:
                  throw new IllegalArgumentException(
                      "The method should only be called when editing an XMLResourceBundle.");
          }
  
      }