Class UrlGeometryInput

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.URL url
      Input URL.
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlGeometryInput​(java.net.URL url)
      Construct a new instance for reading from the given URL.
      UrlGeometryInput​(java.net.URL url, java.nio.charset.Charset charset)
      Construct a new instance for reading from the given URL with the specified charset.
    • Field Detail

      • url

        private final java.net.URL url
        Input URL.
    • Constructor Detail

      • UrlGeometryInput

        public UrlGeometryInput​(java.net.URL url)
        Construct a new instance for reading from the given URL.
        Parameters:
        url - input url
      • UrlGeometryInput

        public UrlGeometryInput​(java.net.URL url,
                                java.nio.charset.Charset charset)
        Construct a new instance for reading from the given URL with the specified charset.
        Parameters:
        url - input URL
        charset - charset to use when reading content
    • Method Detail

      • getUrl

        public java.net.URL getUrl()
        Get the input URL.
        Returns:
        input URL
      • getInputStream

        public java.io.InputStream getInputStream()
        Get the input stream for reading from the input.

        The returned input stream is buffered.

        Specified by:
        getInputStream in interface GeometryInput
        Returns:
        input stream for reading from the input