예제 #1
0
 public static String getAccountRow1(Account account) {
   return account.getType()
       + " - "
       + Utils.getFormattedAmount(account.getBalance(), account.getCurrency());
 }
예제 #2
0
 public static String getAccountRow2(Account account) {
   StringBuilder a = new StringBuilder();
   if (account.getPrefix() != null) a.append(account.getPrefix()).append("-");
   a.append(account.getNumber()).append("/0800");
   return a.toString();
 }