Interface Source

    • Method Detail

      • getInputStream

        InputStream getInputStream()
                            throws IOException
        Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
        Returns:
        A byte stream to the source contents, never null.
        Throws:
        IOException
      • getLocation

        String getLocation()
        Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an empty string. The intention is to assist users during error reporting.
        Returns:
        A user-friendly hint about the location of the source, never null.