Class ApiResource


  • public class ApiResource
    extends java.lang.Object
    This ApiResource class identify the resource name.
    Author:
    Elan Thangamani
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getParentPath​(java.lang.Class clazz, java.lang.String parentPath)  
      static java.lang.String getResource​(java.lang.Class clazz)  
      static java.lang.String getResource​(java.lang.reflect.Method method)  
      static java.lang.String getResourceByURL​(java.lang.String url)  
      static java.lang.String getResourceParent​(java.lang.Class clazz)  
      • Methods inherited from class java.lang.Object

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

      • getResourceParent

        public static java.lang.String getResourceParent​(java.lang.Class clazz)
      • getResource

        public static java.lang.String getResource​(java.lang.Class clazz)
      • getParentPath

        public static java.lang.String getParentPath​(java.lang.Class clazz,
                                                     java.lang.String parentPath)
      • getResource

        public static java.lang.String getResource​(java.lang.reflect.Method method)
      • getResourceByURL

        public static java.lang.String getResourceByURL​(java.lang.String url)