StaticResourceLoader (Grails 6.0.0)

Package: org.grails.io.support

## [Java] Class StaticResourceLoader

- org.grails.io.support.StaticResourceLoader

- All Implemented Interfaces and Traits:
    org.springframework.core.io.ResourceLoader

      public class StaticResourceLoader
      extends java.lang.Object
      implements org.springframework.core.io.ResourceLoader

  Loads relative to a static base resource

  Authors:
    Graeme Rocher
  Since:
    3.1

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private Resource` | `baseResource` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `StaticResourceLoader (Resource baseResource)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public java.lang.ClassLoader` | `getClassLoader()`
    `` | `public Resource` | `getResource(java.lang.String location)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Field Detail

    - #### private Resource baseResource

  - ### Constructor Detail

    - #### public StaticResourceLoader(Resource baseResource)

  - ### Method Detail

    - #### public java.lang.ClassLoader getClassLoader()

    - #### public Resource getResource(java.lang.String location)