src/java.desktop/share/classes/java/awt/desktop/OpenURIHandler.java
changeset 53679 ec5e5bc74f17
parent 47216 71c04702a3d5
equal deleted inserted replaced
53678:9b93a6b30cbe 53679:ec5e5bc74f17
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    26 package java.awt.desktop;
    26 package java.awt.desktop;
    27 
    27 
    28 /**
    28 /**
    29  * An implementor is notified when the application is asked to open a URI.
    29  * An implementor is notified when the application is asked to open a URI.
    30  *
    30  *
    31  * @see java.awt.Desktop#setOpenURIHandler(java.awt.desktop.OpenURIHandler)
    31  * @see java.awt.Desktop#setOpenURIHandler(OpenURIHandler)
    32  *
       
    33  * @since 9
    32  * @since 9
    34  */
    33  */
    35 public interface OpenURIHandler {
    34 public interface OpenURIHandler {
       
    35 
    36     /**
    36     /**
    37      * Called when the application is asked to open a {@code URI}
    37      * Called when the application is asked to open a {@code URI}.
    38      * @param e the request to open a {@code URI}
    38      *
       
    39      * @param  e the request to open a {@code URI}
    39      */
    40      */
    40     public void openURI(final OpenURIEvent e);
    41     public void openURI(OpenURIEvent e);
    41 }
    42 }