test_class.declarator: instance
test_class.original_string: FileResolver instance;
test_class.type: FileResolver
test_class.var_name: instance
test_class.file: xml/src/test/java/org/cthul/resolve/FileResolverTest.java
test_class.identifier: FileResolverTest
test_case.body: @Test
      public void test_get_file() {
          RRequest req = new RRequest(null, null, null, null);
          RResult res = instance.get(req, "schema/a.xsd").getResult();
          assertThat(res.getInputStream(), is(notNullValue()));
      }
test_case.class_method_signature: FileResolverTest.test_get_file()
test_case.full_signature: @Test public void test_get_file()
test_case.identifier: test_get_file
test_case.invocations: getResult get assertThat getInputStream is notNullValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_get_file()
focal_class.declarator: base
focal_class.modifier: private final
focal_class.original_string: private final Path base;
focal_class.type: Path
focal_class.var_name: base
focal_class.declarator: canonicalBase
focal_class.modifier: private final
focal_class.original_string: private final Path canonicalBase;
focal_class.type: Path
focal_class.var_name: canonicalBase
focal_class.file: xml/src/main/java/org/cthul/resolve/FileResolver.java
focal_class.identifier: FileResolver
focal_class.class_method_signature: FileResolver.FileResolver(Path base, Path check)
focal_class.full_signature: public  FileResolver(Path base, Path check)
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: (Path base, Path check)
focal_class.signature:  FileResolver(Path base, Path check)
focal_class.class_method_signature: FileResolver.FileResolver(File base, String check)
focal_class.full_signature: public  FileResolver(File base, String check)
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: (File base, String check)
focal_class.signature:  FileResolver(File base, String check)
focal_class.class_method_signature: FileResolver.FileResolver()
focal_class.full_signature: public  FileResolver()
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  FileResolver()
focal_class.class_method_signature: FileResolver.FileResolver(String base)
focal_class.full_signature: public  FileResolver(String base)
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: (String base)
focal_class.signature:  FileResolver(String base)
focal_class.class_method_signature: FileResolver.FileResolver(File base)
focal_class.full_signature: public  FileResolver(File base)
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: (File base)
focal_class.signature:  FileResolver(File base)
focal_class.class_method_signature: FileResolver.FileResolver(File base, File check)
focal_class.full_signature: public  FileResolver(File base, File check)
focal_class.identifier: FileResolver
focal_class.modifiers: public
focal_class.parameters: (File base, File check)
focal_class.signature:  FileResolver(File base, File check)
focal_class.class_method_signature: FileResolver.lookupAll()
focal_class.full_signature: @Override public UriMappingResolver lookupAll()
focal_class.identifier: lookupAll
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: UriMappingResolver
focal_class.signature: UriMappingResolver lookupAll()
focal_class.class_method_signature: FileResolver.canonicalPath(File f)
focal_class.full_signature: private static String canonicalPath(File f)
focal_class.identifier: canonicalPath
focal_class.modifiers: private static
focal_class.parameters: (File f)
focal_class.return: String
focal_class.signature: String canonicalPath(File f)
focal_class.class_method_signature: FileResolver.get(RRequest request, String source)
focal_class.full_signature: @Override protected RResponse get(RRequest request, String source)
focal_class.identifier: get
focal_class.modifiers: @Override protected
focal_class.parameters: (RRequest request, String source)
focal_class.return: RResponse
focal_class.signature: RResponse get(RRequest request, String source)
focal_class.class_method_signature: FileResolver.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends UriMappingResolver
focal_method.body: @Override
      protected RResponse get(RRequest request, String source) {
          final Path p;
          try {
              p = base != null ?
                      base.resolve(source).normalize() :
                      Paths.get(source);
          } catch (InvalidPathException e) {
              return request.noResultResponse().withWarning(e);
          }
          if (canonicalBase != null) {
              if (!p.toAbsolutePath().startsWith(canonicalBase)) {
                  return null;
              }
          }
          if (!Files.isRegularFile(p)) return null;
          return new FileResult(request, p);
      }
focal_method.class_method_signature: FileResolver.get(RRequest request, String source)
focal_method.full_signature: @Override protected RResponse get(RRequest request, String source)
focal_method.identifier: get
focal_method.invocations: normalize resolve get withWarning noResultResponse startsWith toAbsolutePath isRegularFile
focal_method.modifiers: @Override protected
focal_method.parameters: (RRequest request, String source)
focal_method.return: RResponse
focal_method.signature: RResponse get(RRequest request, String source)