com.hammurapi.common

## Class ClassResourceLoader

- java.lang.Object
- - com.hammurapi.common.ResourceLoaderImpl
  - - com.hammurapi.common.ClassResourceLoader

- All Implemented Interfaces:
    ResourceLoader

      public class ClassResourceLoader
      extends ResourceLoaderImpl

  Utility class which searches class hierarchy for a resource. Resource shall be named after class name, profile name is separated from class name by ! and locale separated from class name/profile by _.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassResourceLoader(ResourceSet resourceSet, Class<?> clazz)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String[]` | `inheritancePath(Class<?> clazz)`
    `String` | `toString()`

    - ### Methods inherited from class com.hammurapi.common.ResourceLoaderImpl

      `getProperties, getProperties, getProperties, getResource, getResource, getResourceStream, getResourceStream`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ClassResourceLoader

          public ClassResourceLoader(ResourceSet resourceSet,
                             Class<?> clazz)

  - ### Method Detail

    - #### inheritancePath

          public static String[] inheritancePath(Class<?> clazz)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`