code: public Template parseTemplate(String source, Object parameterTypes) throws ParseException {
          String name = "/$" + Digest.getMD5(source);
          if (!hasResource(name)) {
              stringLoader.add(name, source);
          }
          try {
              return getTemplate(name, parameterTypes);
          } catch (IOException e) {
              throw new IllegalStateException(e.getMessage(), e);
          }
      }
docs: Parse string template.
  
  @param source - template source
  @return template instance
  @throws IOException    - If an I/O error occurs
  @throws ParseException - If the template cannot be parsed
  @see #getEngine()