question: String normalizeClassPath ( String classPath , boolean generateRelative ) { char sep = CauchoUtil . getPathSeparatorChar ( ) ; int head = 0 ; int tail = 0 ; CharBuffer cb = CharBuffer . allocate ( ) ; while ( head < classPath . length ( ) ) { tail = classPath . indexOf ( sep , head ) ; if ( tail < 0 ) tail = classPath . length ( ) ; if ( tail > head ) { String segment = classPath . substring ( head , tail ) ; segment = normalizePath ( segment , generateRelative ) ; if ( segment != null ) { if ( cb . length ( ) != 0 ) cb . append ( sep ) ; cb . append ( segment ) ; } } head = tail + 1 ; } return cb . close ( ) ; }
target:  Converts any relative classpath references to the full path.