code: public Resource getResource(String name, Locale locale, String encoding) throws IOException {
          name = UrlUtils.cleanName(name);
          locale = cleanLocale(locale);
          return loadResource(name, locale, encoding);
      }
docs: Get resource.
  
  @param name     - resource name
  @param locale   - resource locale
  @param encoding - resource encoding
  @return resource instance
  @throws IOException - If an I/O error occurs
  @see #getEngine()