net.sourceforge.jaulp.iban
Class BankaccountUtils

java.lang.Object
  extended by net.sourceforge.jaulp.iban.BankaccountUtils

public class BankaccountUtils
extends java.lang.Object

Utility class for bank accounts.

Version:
1.0
Author:
Asterios Raptis

Constructor Summary
BankaccountUtils()
           
 
Method Summary
static boolean isIbanNumber(java.lang.String ibanNumber)
          Checks if the ibannumber is valid.
static java.lang.String replaceCharsWithNumbers(java.lang.String locale)
          Replaces Characters with numbers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BankaccountUtils

public BankaccountUtils()
Method Detail

isIbanNumber

public static boolean isIbanNumber(java.lang.String ibanNumber)
                            throws java.lang.Exception
Checks if the ibannumber is valid.

Parameters:
ibanNumber - The iban number.
Returns:
true if the ibannumber is valide otherwise false.
Throws:
java.lang.Exception

replaceCharsWithNumbers

public static java.lang.String replaceCharsWithNumbers(java.lang.String locale)
                                                throws java.lang.Exception
Replaces Characters with numbers.

Parameters:
locale - The locale as String.
Returns:
The formatted string.
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.