Interface Resource


  • public interface Resource
    Minimal representation of a resource e.g. a feature file.
    • Method Detail

      • getUri

        URI getUri()
        Returns a uri representing this resource.

        Resources on the classpath will have the form classpath:com/example.feature while resources on the file system will have the form file:/path/to/example.feature. Other resources will be represented by their exact uri.

        Returns:
        a uri representing this resource