code: public void setProvider(String provider)
      {
          if (provider != null && provider.endsWith(".class"))
          {
              this.provider = provider.substring(0, provider.length() - 6);
          }
          this.provider = provider;
      }
docs: Sets the provider.
  
  @param provider
  the new provider