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));
}

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 .
