test_class.file: handlebars/src/test/java/com/github/jknack/handlebars/io/URLTemplateSourceTest.java
test_class.identifier: URLTemplateSourceTest
test_case.body: @Test
    public void content() throws Exception {
      URLTemplateSource templateSource = new URLTemplateSource("template.hbs", getClass().getResource("/template.hbs"));
  
      assertEquals("template.hbs", templateSource.content(StandardCharsets.UTF_8));
    }
test_case.class_method_signature: URLTemplateSourceTest.content()
test_case.full_signature: @Test public void content()
test_case.identifier: content
test_case.invocations: getResource getClass assertEquals content
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void content()
focal_class.declarator: resource
focal_class.modifier: private
focal_class.original_string: private URL resource;
focal_class.type: URL
focal_class.var_name: resource
focal_class.declarator: lastModified
focal_class.modifier: private
focal_class.original_string: private Long lastModified;
focal_class.type: Long
focal_class.var_name: lastModified
focal_class.declarator: filename
focal_class.modifier: private
focal_class.original_string: private String filename;
focal_class.type: String
focal_class.var_name: filename
focal_class.file: handlebars/src/main/java/com/github/jknack/handlebars/io/URLTemplateSource.java
focal_class.identifier: URLTemplateSource
focal_class.class_method_signature: URLTemplateSource.URLTemplateSource(final String filename, final URL resource)
focal_class.full_signature: public  URLTemplateSource(final String filename, final URL resource)
focal_class.identifier: URLTemplateSource
focal_class.modifiers: public
focal_class.parameters: (final String filename, final URL resource)
focal_class.signature:  URLTemplateSource(final String filename, final URL resource)
focal_class.class_method_signature: URLTemplateSource.content(final Charset charset)
focal_class.full_signature: @Override public String content(final Charset charset)
focal_class.identifier: content
focal_class.modifiers: @Override public
focal_class.parameters: (final Charset charset)
focal_class.return: String
focal_class.signature: String content(final Charset charset)
focal_class.class_method_signature: URLTemplateSource.filename()
focal_class.full_signature: @Override public String filename()
focal_class.identifier: filename
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String filename()
focal_class.class_method_signature: URLTemplateSource.lastModified()
focal_class.full_signature: @Override public long lastModified()
focal_class.identifier: lastModified
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long lastModified()
focal_class.class_method_signature: URLTemplateSource.reader(final Charset charset)
focal_class.full_signature: protected Reader reader(final Charset charset)
focal_class.identifier: reader
focal_class.modifiers: protected
focal_class.parameters: (final Charset charset)
focal_class.return: Reader
focal_class.signature: Reader reader(final Charset charset)
focal_class.class_method_signature: URLTemplateSource.lastModified(final URL resource)
focal_class.full_signature: private long lastModified(final URL resource)
focal_class.identifier: lastModified
focal_class.modifiers: private
focal_class.parameters: (final URL resource)
focal_class.return: long
focal_class.signature: long lastModified(final URL resource)
focal_class.superclass: extends AbstractTemplateSource
focal_method.body: @Override public String content(final Charset charset) throws IOException {
      Reader reader = null;
      final int bufferSize = 1024;
      try {
        reader = reader(charset);
        char[] cbuf = new char[bufferSize];
        StringBuilder sb = new StringBuilder(bufferSize);
        int len;
        while ((len = reader.read(cbuf, 0, bufferSize)) != -1) {
          sb.append(cbuf, 0, len);
        }
        return sb.toString();
      } finally {
        if (reader != null) {
          reader.close();
        }
      }
    }
focal_method.class_method_signature: URLTemplateSource.content(final Charset charset)
focal_method.full_signature: @Override public String content(final Charset charset)
focal_method.identifier: content
focal_method.invocations: reader read append toString close
focal_method.modifiers: @Override public
focal_method.parameters: (final Charset charset)
focal_method.return: String
focal_method.signature: String content(final Charset charset)