Class BicUtil
java.lang.Object
de.knightsoftnet.validators.shared.util.BicUtil
bic Util, helper methodes for bics.
- Author:
- Manfred Tremmel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charcharacter used for separating blocks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbicCompress(String pstring) compress bic, remove all blanks inside.static CountryEnumgetCountryOfBic(String pstring) get country of bic.
-
Field Details
-
SEPARATOR
public static final char SEPARATORcharacter used for separating blocks.- See Also:
-
-
Constructor Details
-
BicUtil
public BicUtil()
-
-
Method Details
-
bicCompress
compress bic, remove all blanks inside.- Parameters:
pstring- string to compress- Returns:
- bic without spaces
-
getCountryOfBic
get country of bic.- Parameters:
pstring- string with bic- Returns:
- country
-