public static RowSpec decode ( String encodedRowSpec , LayoutMap layoutMap ) { checkNotBlank ( encodedRowSpec , "The encoded row specification must not be null, empty or whitespace." ) ; checkNotNull ( layoutMap , "The LayoutMap must not be null." ) ; String trimmed = encodedRowSpec . trim ( ) ; String lower = trimmed . toLowerCase ( Locale . ENGLISH ) ; return decodeExpanded ( layoutMap . expand ( lower , false ) ) ; }
Parses the encoded row specifications and returns a RowSpec object that represents the string . Variables are expanded using the given LayoutMap .