org.richfaces.resource

## Class StaticResourceLibrary

- java.lang.Object
- - org.richfaces.resource.StaticResourceLibrary

- All Implemented Interfaces:
    ResourceLibrary

      public class StaticResourceLibrary
      extends Object
      implements ResourceLibrary

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StaticResourceLibrary(ResourceKey[] keys)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<ResourceKey>` | `getResources()` Returns a list of resources contained in this resource library

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

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

- - ### Constructor Detail

    - #### StaticResourceLibrary

          public StaticResourceLibrary(ResourceKey[] keys)

  - ### Method Detail

    - #### getResources

          public Iterable<ResourceKey> getResources()

      Description copied from interface: `ResourceLibrary`

      Returns a list of resources contained in this resource library

      The result does not have to be stable; i.e. the returned list of resources may differ for each execution based on context, configuration, time, etc.

      Specified by:
        `getResources` in interface `ResourceLibrary`

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.