001/** 002 * GeomSSUtil -- Static utility methods for the the GeomSS application. 003 * 004 * Copyright (C) 2009-2015, by Joseph A. Huwaldt. All rights reserved. 005 * 006 * This library is free software; you can redistribute it and/or modify it under the terms 007 * of the GNU Lesser General Public License as published by the Free Software Foundation; 008 * either version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, but WITHOUT ANY 011 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 012 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 013 * 014 * You should have received a copy of the GNU Lesser General Public License along with 015 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - 016 * Suite 330, Boston, MA 02111-1307, USA. Or visit: http://www.gnu.org/licenses/lgpl.html 017 */ 018package geomss; 019 020import bsh.Interpreter; 021 022/** 023 * Static utility methods for the GeomSS application that are intended to be accessed from 024 * the BeanShell scripting environment. 025 * 026 * <p> Modified by: Joseph A. Huwaldt </p> 027 * 028 * @author Joseph A. Huwaldt, Date: June 13, 2009 029 * @version September 4, 2015 030 */ 031public class GeomSSUtil { 032 033 // Reference to the BeanShell interpreter. 034 private static Interpreter _bsh = null; 035 036 /** 037 * Set the BeanShell interpreter used by this set of utilities. 038 * 039 * @param bsh The BeanShell interpreter used by this set of utilities. 040 */ 041 public static void setInterpreter(Interpreter bsh) { 042 _bsh = bsh; 043 } 044 045}