Interface DocumentSource

    • Method Detail

      • getContentType

        String getContentType()
        Returns:
        a string describing the content type of the provided document.
      • getContentLength

        long getContentLength()
        Returns:
        the size of the content length in bytes.
      • getDocumentIRI

        String getDocumentIRI()
        Returns:
        the actual, final, canonical IRI if redirects occur.
      • isLocal

        boolean isLocal()
        A value of false indicates that the document resides remotely, and that multiple successive accesses to it should be avoided by copying it to local storage. This can also be used for sources that do not support multiple calls to openInputStream().
        Returns:
        true if the DocumentSource is cached locally.