org.apache.lucene.analysis.el

Class GreekCharsets


public class GreekCharsets
extends Object

GreekCharsets class contains encodings schemes (charsets) and toLowerCase() method implementation for greek characters in Unicode, ISO-8859-7 and Microsoft Windows CP1253. Each encoding scheme contains lowercase (positions 0-35) and uppercase (position 36-68) characters, including accented ones. One should be able to add other encoding schemes (see RFC 1947) by adding the definition of a new charset as well as the required logic in the toLowerCase() method.
Author:
Panagiotis Astithas, past@ebs.gr

Field Summary

static char[]
CP1253
static char[]
ISO
static char[]
UnicodeGreek

Method Summary

static char
toLowerCase(char letter, char[] charset)

Field Details

CP1253

public static char[] CP1253

ISO

public static char[] ISO

UnicodeGreek

public static char[] UnicodeGreek

Method Details

toLowerCase

public static char toLowerCase(char letter,
                               char[] charset)

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.