Package org.iban4j
Class BicUtil
java.lang.Object
org.iban4j.BicUtil
Bic Utility Class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetBankCode(String bic) static StringgetBranchCode(String bic) static StringgetCountryCode(String bic) static StringgetLocationCode(String bic) static booleanhasBranchCode(String bic) static voidValidates bic.
-
Constructor Details
-
BicUtil
public BicUtil()
-
-
Method Details
-
validate
Validates bic.- Parameters:
bic- to be validated.- Throws:
BicFormatException- if bic is invalid. UnsupportedCountryException if bic's country is not supported.UnsupportedCountryException
-
getBankCode
-
getCountryCode
-
getLocationCode
-
getBranchCode
-
hasBranchCode
-