< prev index next >

src/java.desktop/share/classes/java/awt/desktop/OpenURIEvent.java

Print this page

        

@@ -32,16 +32,22 @@
 
 /**
  * Event sent when the app is asked to open a {@code URI}.
  *
  * @see OpenURIHandler#openURI(OpenURIEvent)
- *
  * @since 9
  */
 public final class OpenURIEvent extends AppEvent {
 
+    /**
+     * Use serialVersionUID from JDK 9 for interoperability.
+     */
     private static final long serialVersionUID = 221209100935933476L;
+
+    /**
+     * The {@code URI} the app was asked to open.
+     */
     final URI uri;
 
     /**
      * Constructs an {@code OpenURIEvent}.
      *

@@ -56,11 +62,12 @@
     public OpenURIEvent(final URI uri) {
         this.uri = uri;
     }
 
     /**
-     * Get the {@code URI} the app was asked to open
+     * Get the {@code URI} the app was asked to open.
+     *
      * @return the {@code URI}
      */
     public URI getURI() {
         return uri;
     }
< prev index next >