Some useful constants.
More...
|
static readonly System.String | JAVA_VERSION = AppSettings.Get("java.version", "") |
| The value of System.getProperty("java.version") . *
|
|
static readonly bool | JAVA_1_1 = JAVA_VERSION.StartsWith("1.1.") |
| True iff this is Java version 1.1.
|
|
static readonly bool | JAVA_1_2 = JAVA_VERSION.StartsWith("1.2.") |
| True iff this is Java version 1.2.
|
|
static readonly bool | JAVA_1_3 = JAVA_VERSION.StartsWith("1.3.") |
| True iff this is Java version 1.3.
|
|
static readonly System.String | OS_NAME = GetEnvironmentVariable("OS","Windows_NT") ?? "Linux" |
| The value of System.getProperty("os.name") . *
|
|
static readonly bool | LINUX = OS_NAME.StartsWith("Linux") |
| True iff running on Linux.
|
|
static readonly bool | WINDOWS = OS_NAME.StartsWith("Windows") |
| True iff running on Windows.
|
|
static readonly bool | SUN_OS = OS_NAME.StartsWith("SunOS") |
| True iff running on SunOS.
|
|
static readonly System.String | OS_ARCH = GetEnvironmentVariable("PROCESSOR_ARCHITECTURE","x86") |
|
static readonly System.String | OS_VERSION = GetEnvironmentVariable("OS_VERSION", "?") |
|
static readonly System.String | JAVA_VENDOR = AppSettings.Get("java.vendor", "") |
|
static bool | JRE_IS_64BIT |
|
static readonly System.String | LUCENE_MAIN_VERSION = Ident("3.0.3") |
|
static System.String | LUCENE_VERSION ="8.8.8.8" |
|
Some useful constants.
Definition at line 26 of file Constants.cs.
readonly bool Lucene.Net.Util.Constants.JAVA_1_1 = JAVA_VERSION.StartsWith("1.1.") |
|
static |
True iff this is Java version 1.1.
Definition at line 35 of file Constants.cs.
readonly bool Lucene.Net.Util.Constants.JAVA_1_2 = JAVA_VERSION.StartsWith("1.2.") |
|
static |
True iff this is Java version 1.2.
Definition at line 37 of file Constants.cs.
readonly bool Lucene.Net.Util.Constants.JAVA_1_3 = JAVA_VERSION.StartsWith("1.3.") |
|
static |
True iff this is Java version 1.3.
Definition at line 39 of file Constants.cs.
readonly System.String Lucene.Net.Util.Constants.JAVA_VENDOR = AppSettings.Get("java.vendor", "") |
|
static |
readonly System.String Lucene.Net.Util.Constants.JAVA_VERSION = AppSettings.Get("java.version", "") |
|
static |
The value of System.getProperty("java.version")
. *
Definition at line 33 of file Constants.cs.
bool Lucene.Net.Util.Constants.JRE_IS_64BIT |
|
static |
readonly bool Lucene.Net.Util.Constants.LINUX = OS_NAME.StartsWith("Linux") |
|
static |
True iff running on Linux.
Definition at line 44 of file Constants.cs.
readonly System.String Lucene.Net.Util.Constants.LUCENE_MAIN_VERSION = Ident("3.0.3") |
|
static |
System.String Lucene.Net.Util.Constants.LUCENE_VERSION ="8.8.8.8" |
|
static |
readonly System.String Lucene.Net.Util.Constants.OS_ARCH = GetEnvironmentVariable("PROCESSOR_ARCHITECTURE","x86") |
|
static |
readonly System.String Lucene.Net.Util.Constants.OS_NAME = GetEnvironmentVariable("OS","Windows_NT") ?? "Linux" |
|
static |
The value of System.getProperty("os.name")
. *
Definition at line 42 of file Constants.cs.
readonly System.String Lucene.Net.Util.Constants.OS_VERSION = GetEnvironmentVariable("OS_VERSION", "?") |
|
static |
readonly bool Lucene.Net.Util.Constants.SUN_OS = OS_NAME.StartsWith("SunOS") |
|
static |
True iff running on SunOS.
Definition at line 48 of file Constants.cs.
readonly bool Lucene.Net.Util.Constants.WINDOWS = OS_NAME.StartsWith("Windows") |
|
static |
True iff running on Windows.
Definition at line 46 of file Constants.cs.
The documentation for this class was generated from the following file: