Class URLStream


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

  • Method Details

    • typeOf

      public LispObject typeOf()
      Overrides:
      typeOf in class Stream
    • classOf

      public LispObject classOf()
      Overrides:
      classOf in class Stream
    • typep

      public LispObject typep(LispObject typeSpecifier)
      Overrides:
      typep in class Stream
    • setExternalFormat

      public void setExternalFormat(LispObject format)
      Overrides:
      setExternalFormat in class Stream
    • getPathname

      public Pathname getPathname()
    • getReader

      public Reader getReader()
    • getInputStream

      public 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. invalid input: '<'https://gitlab.common-lisp.net/mevenson/jeannie/>
    • getBytesPerUnit

      public int getBytesPerUnit()
    • _close

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

      public String printObject()
      Overrides:
      printObject in class StructureObject