public static final CurrencySymbolPosition parseCurrencySymbolPosition ( String value ) { CurrencySymbolPosition result = CurrencySymbolPosition . BEFORE ; switch ( NumberHelper . getInt ( value ) ) { case 0 : { result = CurrencySymbolPosition . BEFORE ; break ; } case 1 : { result = CurrencySymbolPosition . AFTER ; break ; } case 2 : { result = CurrencySymbolPosition . BEFORE_WITH_SPACE ; break ; } case 3 : { result = CurrencySymbolPosition . AFTER_WITH_SPACE ; break ; } } return ( result ) ; }
Parse a currency symbol position value .