Class ResourceUtil


  • public class ResourceUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getResourceRoot​(java.lang.Class aClass)  
      static java.lang.String getResourceRoot​(java.lang.Class context, java.lang.String path)
      Attempts to detect classpath entry which contains given resource
      • Methods inherited from class java.lang.Object

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

      • ResourceUtil

        public ResourceUtil()
    • Method Detail

      • getResourceRoot

        public static java.lang.String getResourceRoot​(java.lang.Class context,
                                                       java.lang.String path)
        Attempts to detect classpath entry which contains given resource
      • getResourceRoot

        public static java.lang.String getResourceRoot​(java.lang.Class aClass)