org.apache.lucene.util
Class Constants
public final
class
Constants
extends Object
Some useful constants.
Version: $Id: Constants.java 472959 2006-11-09 16:21:50Z yonik $
Author: Doug Cutting
Field Summary |
static boolean | JAVA_1_1 True iff this is Java version 1.1. |
static boolean | JAVA_1_2 True iff this is Java version 1.2. |
static boolean | JAVA_1_3 True iff this is Java version 1.3. |
static String | JAVA_VERSION The value of System.getProperty("java.version"). |
static boolean | LINUX True iff running on Linux. |
static String | OS_NAME The value of System.getProperty("os.name"). |
static boolean | SUN_OS True iff running on SunOS. |
static boolean | WINDOWS True iff running on Windows. |
public static final boolean JAVA_1_1
True iff this is Java version 1.1.
public static final boolean JAVA_1_2
True iff this is Java version 1.2.
public static final boolean JAVA_1_3
True iff this is Java version 1.3.
public static final String JAVA_VERSION
The value of System.getProperty("java.version"). *
public static final boolean LINUX
True iff running on Linux.
public static final String OS_NAME
The value of System.getProperty("os.name"). *
public static final boolean SUN_OS
True iff running on SunOS.
public static final boolean WINDOWS
True iff running on Windows.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.