Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoinx.clef
Class CLEFConstants  view CLEFConstants download CLEFConstants.java

java.lang.Object
  extended byrecoinx.clef.CLEFConstants

public abstract class CLEFConstants
extends java.lang.Object

A static class providing constants with information shared across the CLEF2003 project.

Version:
0.2.9

Field Summary
static int ATS94
           
static int ATS95
           
static java.lang.String[] COLLECTIONNAMES
           
static java.lang.String[] COLLECTIONTABLES
           
static int EFE94
           
static int EFE95
           
static int ENGLISH
           
static int FR94
           
static int FRENCH
           
static int GERMAN
           
static int GH95
           
static java.lang.String[] LANGUAGENAMES
           
static int LAT94
           
static int LM94
           
(package private) static org.apache.log4j.Logger logger
           
static int SDA94
           
static int SDA95
           
static int SP9495
           
static int SPANISH
           
 
Constructor Summary
CLEFConstants()
           
 
Method Summary
static java.lang.String getCollectionName(int collection)
          Returns the name of the specified collection.
static int[] getCollectionsByLanguage(int lang)
          Returns an int[] that contains the static integers of the collections that belong to the specified language.
static java.lang.String getCollectionTable(int collection)
          Returns the tablename of the specified collection.
static java.lang.String getLanguageName(int language)
          Returns a String representing the specified language.
static int[] getLanguages()
          Returns an int[] containing the languages.
static CLEFResult[] quickSort(int leftLimit, int rightLimit, CLEFResult[] results)
          Sorts the CLEFResult objects in the specified array using quicksort.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

GERMAN

public static final int GERMAN
See Also:
Constant Field Values

ENGLISH

public static final int ENGLISH
See Also:
Constant Field Values

SPANISH

public static final int SPANISH
See Also:
Constant Field Values

FRENCH

public static final int FRENCH
See Also:
Constant Field Values

SP9495

public static final int SP9495
See Also:
Constant Field Values

SDA94

public static final int SDA94
See Also:
Constant Field Values

SDA95

public static final int SDA95
See Also:
Constant Field Values

FR94

public static final int FR94
See Also:
Constant Field Values

LAT94

public static final int LAT94
See Also:
Constant Field Values

GH95

public static final int GH95
See Also:
Constant Field Values

EFE94

public static final int EFE94
See Also:
Constant Field Values

EFE95

public static final int EFE95
See Also:
Constant Field Values

LM94

public static final int LM94
See Also:
Constant Field Values

ATS94

public static final int ATS94
See Also:
Constant Field Values

ATS95

public static final int ATS95
See Also:
Constant Field Values

LANGUAGENAMES

public static final java.lang.String[] LANGUAGENAMES

COLLECTIONNAMES

public static final java.lang.String[] COLLECTIONNAMES

COLLECTIONTABLES

public static final java.lang.String[] COLLECTIONTABLES
Constructor Detail

CLEFConstants

public CLEFConstants()
Method Detail

getCollectionName

public static java.lang.String getCollectionName(int collection)
Returns the name of the specified collection.


getCollectionTable

public static java.lang.String getCollectionTable(int collection)
Returns the tablename of the specified collection.


getCollectionsByLanguage

public static int[] getCollectionsByLanguage(int lang)
Returns an int[] that contains the static integers of the collections that belong to the specified language.


quickSort

public static CLEFResult[] quickSort(int leftLimit,
                                     int rightLimit,
                                     CLEFResult[] results)
Sorts the CLEFResult objects in the specified array using quicksort. The specified left and right delimiters mark the range in which sorting will take place. They should be set to 0 and results.length - 1 pointing at the beginning and the end of the array if the whole list is supposed to be sorted.


getLanguages

public static int[] getLanguages()
Returns an int[] containing the languages.


getLanguageName

public static java.lang.String getLanguageName(int language)
Returns a String representing the specified language.