com.lowagie.text.factories
Class GreekNumberFactory
public
class
GreekNumberFactory
extends Object
This class can produce String combinations representing a number built with
Greek letters (from alpha to omega, then alpha alpha, alpha beta, alpha gamma).
We are aware of the fact that the original Greek numbering is different;
See http://www.cogsci.indiana.edu/farg/harry/lan/grknum.htm#ancient
but this isn't implemented yet; the main reason being the fact that we
need a font that has the obsolete Greek characters qoppa and sampi.
Method Summary |
static String | getLowerCaseString(int index)
Changes an int into a lower case Greek letter combination. |
static String | getString(int index)
Changes an int into a lower case Greek letter combination. |
static String | getString(int index, boolean lowercase)
Changes an int into a Greek letter combination. |
static String | getUpperCaseString(int index)
Changes an int into a upper case Greek letter combination. |
static void | main(String[] args)
Test this class using this main method. |
public static final String getLowerCaseString(int index)
Changes an int into a lower case Greek letter combination.
Parameters: index the original number
Returns: the letter combination
public static final String getString(int index)
Changes an int into a lower case Greek letter combination.
Parameters: index the original number
Returns: the letter combination
public static final String getString(int index, boolean lowercase)
Changes an int into a Greek letter combination.
Parameters: index the original number
Returns: the letter combination
public static final String getUpperCaseString(int index)
Changes an int into a upper case Greek letter combination.
Parameters: index the original number
Returns: the letter combination
public static void main(String[] args)
Test this class using this main method.