public final class Constants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
FREE_BSD
True iff running on FreeBSD
|
static java.lang.String |
JAVA_VENDOR |
static java.lang.String |
JAVA_VERSION
The value of System.getProperty("java.version").
|
static boolean |
JRE_IS_64BIT
True iff running on a 64bit JVM
|
static boolean |
JRE_IS_MINIMUM_JAVA6
Deprecated.
With Lucene 4.0, we are always on Java 6
|
static boolean |
JRE_IS_MINIMUM_JAVA7 |
static boolean |
JRE_IS_MINIMUM_JAVA8 |
static java.lang.String |
JVM_NAME |
static java.lang.String |
JVM_VENDOR
JVM vendor info.
|
static java.lang.String |
JVM_VERSION |
static boolean |
LINUX
True iff running on Linux.
|
static java.lang.String |
LUCENE_MAIN_VERSION
This is the internal Lucene version, recorded into each segment.
|
static java.lang.String |
LUCENE_VERSION
This is the Lucene version for display purposes.
|
static boolean |
MAC_OS_X
True iff running on Mac OS X
|
static java.lang.String |
OS_ARCH |
static java.lang.String |
OS_NAME
The value of System.getProperty("os.name").
|
static java.lang.String |
OS_VERSION |
static boolean |
SUN_OS
True iff running on SunOS.
|
static boolean |
WINDOWS
True iff running on Windows.
|
public static final java.lang.String JVM_VENDOR
public static final java.lang.String JVM_VERSION
public static final java.lang.String JVM_NAME
public static final java.lang.String JAVA_VERSION
public static final java.lang.String OS_NAME
public static final boolean LINUX
public static final boolean WINDOWS
public static final boolean SUN_OS
public static final boolean MAC_OS_X
public static final boolean FREE_BSD
public static final java.lang.String OS_ARCH
public static final java.lang.String OS_VERSION
public static final java.lang.String JAVA_VENDOR
@Deprecated public static final boolean JRE_IS_MINIMUM_JAVA6
public static final boolean JRE_IS_MINIMUM_JAVA7
public static final boolean JRE_IS_MINIMUM_JAVA8
public static final boolean JRE_IS_64BIT
public static final java.lang.String LUCENE_MAIN_VERSION
"X.Y" format
(no minor version), e.g. "4.0", "3.1", "3.0".
Alpha and Beta versions will have numbers like "X.Y.0.Z",
anything else is not allowed. This is done to prevent people from
using indexes created with ALPHA/BETA versions with the released version.
public static final java.lang.String LUCENE_VERSION
Copyright © 2010 - 2024 Adobe. All Rights Reserved