jonelo.sugar.util

Class GeneralProgram


public final class GeneralProgram
extends java.lang.Object

Sugar for Java, 1.3.0 Copyright (C) 2001-2005 Dipl.-Inf. (FH) Johann Nepomuk Loefflmann, All Rights Reserved, http://www.jonelo.de This library 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. This library 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 this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Method Summary

static boolean
isJ2SEcompatible()
static boolean
isSupportFor(String version)
static void
requiresMinimumJavaVersion(String version)
Exits if the JVM does not fulfil the requirements, does nothing under a free JVM

Method Details

isJ2SEcompatible

public static boolean isJ2SEcompatible()

isSupportFor

public static boolean isSupportFor(String version)

requiresMinimumJavaVersion

public static final void requiresMinimumJavaVersion(String version)
Exits if the JVM does not fulfil the requirements, does nothing under a free JVM
Parameters:
version - Java version (e. g. "1.3.1")