I have a method lets say:
private static String drawCellValue( int maxCellLength, String cellValue, String align) { }
and as you can no
This should do it:
private enum Alignment { LEFT, RIGHT }; String drawCellValue (int maxCellLength, String cellValue, Alignment align){ if (align == Alignment.LEFT) { //Process it... } }