Class StreamGeometryInput

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.InputStream in
      Input stream.
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamGeometryInput​(java.io.InputStream in)
      Construct a new instance that reads from the given input stream with no configured file name or charset.
      StreamGeometryInput​(java.io.InputStream in, java.lang.String fileName)
      Construct a new instance that reads from the given input stream with the configured file name but no charset.
      StreamGeometryInput​(java.io.InputStream in, java.lang.String fileName, java.nio.charset.Charset charset)
      Construct a new instance that reads from the given input stream with the configured file name and charset.
    • Field Detail

      • in

        private final java.io.InputStream in
        Input stream.
    • Constructor Detail

      • StreamGeometryInput

        public StreamGeometryInput​(java.io.InputStream in)
        Construct a new instance that reads from the given input stream with no configured file name or charset.
        Parameters:
        in - input stream
      • StreamGeometryInput

        public StreamGeometryInput​(java.io.InputStream in,
                                   java.lang.String fileName)
        Construct a new instance that reads from the given input stream with the configured file name but no charset.
        Parameters:
        in - input stream
        fileName - input file name; may be null
      • StreamGeometryInput

        public StreamGeometryInput​(java.io.InputStream in,
                                   java.lang.String fileName,
                                   java.nio.charset.Charset charset)
        Construct a new instance that reads from the given input stream with the configured file name and charset.
        Parameters:
        in - input stream
        fileName - input file name; may be null
        charset - input charset; may be null
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
        Get the input stream for reading from the input.
        Specified by:
        getInputStream in interface GeometryInput
        Returns:
        input stream for reading from the input