All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.ejalbert.launching.IBrowserEventCallBack Maven / Gradle / Ivy

Go to download

BrowserLauncher2, a continuation of the BrowserLauncher project, is a library that facilitates opening a browser from a Java application and directing the browser to a supplied url. In most cases the browser opened will be the user's default browser.

The newest version!
/************************************************
    Copyright 2008 Jeff Chapman

    This file is part of BrowserLauncher2.

    BrowserLauncher2 is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    BrowserLauncher2 is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with BrowserLauncher2; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

 ************************************************/
// $Id: IBrowserEventCallBack.java,v 1.1 2008/11/12 21:10:23 jchapman0 Exp $
package edu.stanford.ejalbert.launching;

/**
 *
 * @author Jeff Chapman
 * @version 1.0
 */
public interface IBrowserEventCallBack {
    public void fireBrowserEvent(int id,
                                 int attemptId,
                                 Process proc,
                                 String browserName,
                                 String urlLaunched);
    public int getOpenAttemptId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy