code: public void registerFormatter(Class<IFormatter>... formatterClasses) {
          for (Class<IFormatter> cls : formatterClasses) {
              try {
                  IFormatter fmt = cls.newInstance();
                  extensionManager().registerFormatter(fmt);
              } catch (Exception e) {
                  Logger.error(e, "Error get formatter instance from class[%s]", cls);
              }
          }
      }
docs: Register {@link org.rythmengine.extension.IFormatter formatters}
  
  @param formatterClasses