private int parseKeywords ( ) { int oldBlen = buffer . length ( ) ; Map < String , String > m = getKeywordMap ( ) ; if ( ! m . isEmpty ( ) ) { boolean first = true ; for ( Map . Entry < String , String > e : m . entrySet ( ) ) { append ( first ? KEYWORD_SEPARATOR : ITEM_SEPARATOR ) ; first = false ; append ( e . getKey ( ) ) ; append ( KEYWORD_ASSIGN ) ; append ( e . getValue ( ) ) ; } if ( first == false ) { ++ oldBlen ; } } return oldBlen ; }
Parse the keywords and return start of the string in the buffer .