public boolean addClasspathEntries(final String pathStr, final ClassLoader classLoader, final ScanSpec scanSpec,
            final LogNode log) {
        if (pathStr == null || pathStr.isEmpty()) {
            return false;
        } else {
            final String[] parts = JarUtils.smartPathSplit(pathStr);
            if (parts.length == 0) {
                return false;
            } else {
                for (final String pathElement : parts) {
                    addClasspathEntry(pathElement, classLoader, scanSpec, log);
                }
                return true;
            }
        }
    }
public boolean addClasspathEntries ( final String pathStr , final ClassLoader classLoader , final ScanSpec scanSpec , final LogNode log ) { if ( pathStr == null || pathStr . isEmpty ( ) ) { return false ; } else { final String [ ] parts = JarUtils . smartPathSplit ( pathStr ) ; if ( parts . length == 0 ) { return false ; } else { for ( final String pathElement : parts ) { addClasspathEntry ( pathElement , classLoader , scanSpec , log ) ; } return true ; } } }
Add classpath entries, separated by the system path separator character.

@param pathStr
the delimited string of URLs or paths of the classpath.
@param classLoader
the ClassLoader that this classpath was obtained from.
@param scanSpec
the scan spec
@param log
the LogNode instance to use if logging in verbose mode.
@return true (and add the classpath element) if pathElement is not null or empty, otherwise return false.