Class URLResource

    • Constructor Detail

      • URLResource

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

      • getURL

        public java.net.URL getURL()
      • openInputStream

        public java.io.InputStream openInputStream()
                                            throws java.io.IOException
        Returns:
        an InputStream for the resource's data
        Throws:
        java.io.IOException - If failed to open the stream