Class ClassPathUtil


  • public class ClassPathUtil
    extends java.lang.Object
    utility to collect the effective classpath. This is not that trivial since the classpath is combine of the entries from the system property and also from classpath entries in jar file.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassPathUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.lang.String> getAllClassPathEntries()
      collects all the classpath-entries from the different resources: entries of the system classpath the loaded jars entries from classpath-attribute in any jars as detected before
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassPathUtil

        public ClassPathUtil()
    • Method Detail

      • getAllClassPathEntries

        public static final java.util.Set<java.lang.String> getAllClassPathEntries()
        collects all the classpath-entries from the different resources:
        • entries of the system classpath
        • the loaded jars
        • entries from classpath-attribute in any jars as detected before
        Returns:
        all the entries