public class J3DVersion
extends java.lang.Object
Java3D 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 |
J3D_3DS_CLASS
representative class names
|
static java.lang.String |
J3D_CLASS
representative class names
|
static java.lang.String |
J3D_VRML97_CLASS
representative class names
|
static java.lang.String |
J3D14_CLASS
representative class names
|
static java.lang.String |
J3D15_CLASS
representative class names
|
private static java.lang.String |
svnid |
static java.lang.String |
VECMATH_CLASS
representative class names
|
Constructor and Description |
---|
J3DVersion() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJ3DVersionMessage()
get a message describing the available Java3D version
|
protected static boolean |
hasClass(java.lang.String name)
check if the named class is available
|
static boolean |
hasJ3D()
check if Java3D is available
|
static boolean |
hasJ3D14()
check if Java3D 1.4+ is available (implies
hasJ3D() ) |
static boolean |
hasJ3D15()
check if Java3D 1.5+ is available (implies
hasJ3D14() ) |
static boolean |
hasJ3D3DS()
check if 3DS loader is available
|
static boolean |
hasJ3DVRML97()
check if VRML97 loader is available
|
static boolean |
hasVecmath()
check if vecmath is available
|
private static final java.lang.String svnid
public static final java.lang.String VECMATH_CLASS
public static final java.lang.String J3D_CLASS
public static final java.lang.String J3D14_CLASS
public static final java.lang.String J3D15_CLASS
public static final java.lang.String J3D_VRML97_CLASS
public static final java.lang.String J3D_3DS_CLASS
public static boolean hasVecmath()
public static boolean hasJ3D()
public static boolean hasJ3DVRML97()
public static boolean hasJ3D3DS()
public static boolean hasJ3D14()
hasJ3D()
)public static boolean hasJ3D15()
hasJ3D14()
)public static java.lang.String getJ3DVersionMessage()
protected static boolean hasClass(java.lang.String name)