FileDocCategorySizeDatePackage
Constants.javaAPI DocApache Lucene 2.1.02002Wed Feb 14 10:46:42 GMT 2007org.apache.lucene.util

Constants

public final class Constants extends Object
Some useful constants.
author
Doug Cutting
version
$Id: Constants.java 472959 2006-11-09 16:21:50Z yonik $

Fields Summary
public static final String
JAVA_VERSION
The value of System.getProperty("java.version").
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
OS_NAME
The value of System.getProperty("os.name").
public static final boolean
LINUX
True iff running on Linux.
public static final boolean
WINDOWS
True iff running on Windows.
public static final boolean
SUN_OS
True iff running on SunOS.
Constructors Summary
private Constants()

Methods Summary