|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.factories.RomanNumberFactory
public class RomanNumberFactory
This class can produce String combinations representing a roman number.
Nested Class Summary | |
---|---|
private static class |
RomanNumberFactory.RomanDigit
Helper class for Roman Digits |
Field Summary | |
---|---|
private static RomanNumberFactory.RomanDigit[] |
roman
Array with Roman digits. |
Constructor Summary | |
---|---|
RomanNumberFactory()
|
Method Summary | |
---|---|
static String |
getLowerCaseString(int index)
Changes an int into a lower case roman number. |
static String |
getString(int index)
Changes an int into a lower case roman number. |
static String |
getString(int index,
boolean lowercase)
Changes an int into a roman number. |
static String |
getUpperCaseString(int index)
Changes an int into an upper case roman number. |
static void |
main(String[] args)
Test this class using this main method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final RomanNumberFactory.RomanDigit[] roman
Constructor Detail |
---|
public RomanNumberFactory()
Method Detail |
---|
public static final String getString(int index)
index
- the original number
public static final String getLowerCaseString(int index)
index
- the original number
public static final String getUpperCaseString(int index)
index
- the original number
public static final String getString(int index, boolean lowercase)
index
- the original number
public static void main(String[] args)
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |