Package org.iban4j
Class Bic
java.lang.Object
org.iban4j.Bic
Business Identifier Codes (also known as SWIFT-BIC, BIC code, SWIFT ID or SWIFT code).
ISO_9362.
-
Method Summary
-
Method Details
-
valueOf
Returns a Bic object holding the value of the specified String.- Parameters:
bic- the String to be parsed.- Returns:
- a Bic object holding the value represented by the string argument.
- Throws:
BicFormatException- if the String doesn't contain parsable Bic. UnsupportedCountryException if bic's country is not supported.UnsupportedCountryException
-
getBankCode
Returns the bank code from the Bic.- Returns:
- string representation of Bic's institution code.
-
getCountryCode
Returns the country code from the Bic.- Returns:
- CountryCode representation of Bic's country code.
-
getLocationCode
Returns the location code from the Bic.- Returns:
- string representation of Bic's location code.
-
getBranchCode
Returns the branch code from the Bic.- Returns:
- string representation of Bic's branch code, null if Bic has no branch code.
-
equals
-
hashCode
public int hashCode() -
toString
-