Class URLStream


  • public final class URLStream
    extends Stream
    Stream interface for a URL. Currently only supports reading from the stream.
    • Method Detail

      • getPathname

        public Pathname getPathname()
      • getReader

        public java.io.Reader getReader()
      • getInputStream

        public java.io.InputStream getInputStream()
        Accessing the underlying java.io.InputStream can be helpful when utlizing Java-side frameworks like Apache Jena built on the java.io abstractions. State should only be mutated if you know what you are doing. c.f.
      • getBytesPerUnit

        public int getBytesPerUnit()
      • _close

        public void _close()
        Description copied from class: Stream
        Closes the stream and underlying streams
        Overrides:
        _close in class Stream