Class URLInputStreamFacade

    • Field Summary

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

      Constructors 
      Constructor Description
      URLInputStreamFacade​(java.net.URL url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getInputStream()
      The caller must assume, that this method may be invoked only once.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • url

        private final java.net.URL url
    • Constructor Detail

      • URLInputStreamFacade

        public URLInputStreamFacade​(java.net.URL url)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Description copied from interface: InputStreamFacade
        The caller must assume, that this method may be invoked only once.
        Specified by:
        getInputStream in interface InputStreamFacade
        Returns:
        Retrieves the actual InputStream.
        Throws:
        java.io.IOException - if io issue