java.lang.Object
recoinx.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CLEFConstants
public CLEFConstants()
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.