public class BICUtils
extends java.lang.Object
Constructor and Description |
---|
BICUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getReceiver(java.lang.String bic)
Returns a BIC properly padded as a receiver BIC:
Result is fixed at 12 characters, uppercased,
it must have X in position 9, if another character is found it is replaced by an "X",
and branch is padded with "X".
|
static java.lang.String |
getSender(java.lang.String bic)
Returns a BIC properly padded as a sender BIC.
|
public static java.lang.String getReceiver(java.lang.String bic)
bic
- the BIC to padnull
if parameter is null or its length is less than 8 characterspublic static java.lang.String getSender(java.lang.String bic)
bic
- the BIC to padnull
if parameter is null or its length is less than 8 characters