org.apache.lucene.util
Class Constants
- java.lang.Object
-
- org.apache.lucene.util.Constants
-
public final class Constants extends java.lang.ObjectSome useful constants.
-
-
Field Summary
Fields Modifier and Type Field and Description static booleanJAVA_1_1True iff this is Java version 1.1.static booleanJAVA_1_2True iff this is Java version 1.2.static booleanJAVA_1_3True iff this is Java version 1.3.static java.lang.StringJAVA_VERSIONThe value of System.getProperty("java.version").static booleanLINUXTrue iff running on Linux.static java.lang.StringOS_NAMEThe value of System.getProperty("os.name").static booleanSUN_OSTrue iff running on SunOS.static booleanWINDOWSTrue iff running on Windows.
-
-
-
Field Detail
-
JAVA_VERSION
public static final java.lang.String JAVA_VERSION
The value of System.getProperty("java.version").
-
JAVA_1_1
public static final boolean JAVA_1_1
True iff this is Java version 1.1.
-
JAVA_1_2
public static final boolean JAVA_1_2
True iff this is Java version 1.2.
-
JAVA_1_3
public static final boolean JAVA_1_3
True iff this is Java version 1.3.
-
OS_NAME
public static final java.lang.String OS_NAME
The value of System.getProperty("os.name").
-
LINUX
public static final boolean LINUX
True iff running on Linux.
-
WINDOWS
public static final boolean WINDOWS
True iff running on Windows.
-
SUN_OS
public static final boolean SUN_OS
True iff running on SunOS.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG