private void parseRebasePaths ( String rebaseDefinitions ) { StringTokenizer tokenizer = new StringTokenizer ( rebaseDefinitions , "," ) ; while ( tokenizer . hasMoreTokens ( ) ) { String rebasePair = tokenizer . nextToken ( ) ; int equals = rebasePair . indexOf ( ' ' ) ; String fromPrefix = rebasePair . substring ( 0 , equals ) ; String toPrefix = rebasePair . substring ( equals + 1 ) ; if ( GlobalConfiguration . isRuntimeLogging && log . isLoggable ( Level . INFO ) ) { log . info ( "processPropertiesConfiguration: adding rebase rule from '" + fromPrefix + "' to '" + toPrefix + "'" ) ; } rebasePaths . put ( fromPrefix , toPrefix ) ; } }
Process a set of rebase definitions of the form a = b c = d e = f .