Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MethodDescription
<T> T get(final Class<T> type, final String path);

Creates an object of class type and maps it from a resource from under specified path

<T> T get(final Class<T> type, final Resource resource);Creates an object of class type and maps it from the resource
<T> T get(com.google.inject.Key<T> key, Resource resource)String path) throws ClassNotFoundException;
 
<T> T get(com.google.inject.Key<T> key, String pathResource resource) throws ClassNotFoundException; 
<T> List<T> getChildModels(Class<T> type, Resource parentResourceString parentPath);
 
<T> List<T> getChildModels(Class<T> type, String parentPathResource parentResource); 
Object get(final String className, final String path) throws ClassNotFoundException;Creates an object of a class defined by specified className String and maps it from a resource from under specified path
Object get(String className, Resource resource) throws ClassNotFoundException; 
<T> List<T> getList(final Class<T> type, final Iterator<String> paths);Creates a list of objects of class type and maps them accordingly from resources from under paths defined by paths interator.
<T> List<T> getList(final Class<T> type, final String[] paths);

Creates a list of objects of class type and maps them accordingly from resources from under paths defined by paths array.

<T> List<T> getListFromResources(Class<T> type, Iterator<Resource> resources); 

...