Class RomanAlphabetFactory

java.lang.Object
com.aowagie.text.factories.RomanAlphabetFactory

public class RomanAlphabetFactory extends Object
This class can produce String combinations representing a number. "a" to "z" represent 1 to 26, "AA" represents 27, "AB" represents 28, and so on; "ZZ" is followed by "AAA".
  • Constructor Details

    • RomanAlphabetFactory

      public RomanAlphabetFactory()
  • Method Details

    • getString

      public static final String getString(int index, boolean lowercase)
      Translates a positive integer (not equal to zero) into a String using the letters 'a' to 'z' (a = 1, b = 2, ..., z = 26, aa = 27, ab = 28,...).
      Parameters:
      index - Index
      lowercase - Lower case
      Returns:
      String