⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getenv.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
/*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/package net.sourceforge.ganttproject.util;/** * Reads the (Linux) systems BROWSER environment variable *  * @author Roger Andresen * @created November 23, 2004 */public class GetEnv {    /**     * Description of the Method     *      * @param newUrl     *            The URL to invoke     * @return Array of commands     */    public static String[] GetEnvironement(String newUrl) {        // Deprecated but requires a lot less "magic" than the alternative        String browser = System.getenv("BROWSER");        String myBrowser = "/usr/bin/" + browser + " " + newUrl;        return myBrowser.split(" ");    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -