public class JOGLVersion
extends java.lang.Object
JOGL version checking.
Separated into its own class to avoid class init problems if the library is not actually available.
Copyright (C) 2008 Marsette A. Vona, III
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.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOGL_CLASS
representative class names
|
static java.lang.String |
JOGL11_CLASS
representative class names
|
static java.lang.String |
JOGL111_CLASS
representative class names
|
static java.lang.String |
JOGL2_CLASS
representative class names
|
private static java.lang.String |
svnid |
Constructor and Description |
---|
JOGLVersion() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJOGLVersionMessage()
get a message describing the available JOGL version
|
protected static boolean |
hasClass(java.lang.String name)
check if the named class is available
|
static boolean |
hasJOGL()
check if JOGL is available
|
static boolean |
hasJOGL11()
check if JOGL 1.1.0+ is available
|
static boolean |
hasJOGL111()
check if JOGL 1.1.1+ is available
|
static boolean |
hasJOGL2()
check if JOGL 2.0+ is available
|
private static final java.lang.String svnid
public static final java.lang.String JOGL_CLASS
public static final java.lang.String JOGL11_CLASS
public static final java.lang.String JOGL111_CLASS
public static final java.lang.String JOGL2_CLASS
public static boolean hasJOGL()
public static boolean hasJOGL11()
public static boolean hasJOGL111()
public static boolean hasJOGL2()
public static java.lang.String getJOGLVersionMessage()
protected static boolean hasClass(java.lang.String name)