org.richfaces.resource.optimizer.resource.scan.impl

## Class StaticResourcesScanner

- java.lang.Object
- - org.richfaces.resource.optimizer.resource.scan.impl.StaticResourcesScanner

- All Implemented Interfaces:
    ResourcesScanner

      public class StaticResourcesScanner
      extends Object
      implements ResourcesScanner

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StaticResourcesScanner(Collection<VirtualFile> resourceRoots)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<ResourceKey>` | `getResources()`
    `void` | `scan()`

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

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

- - ### Constructor Detail

    - #### StaticResourcesScanner

          public StaticResourcesScanner(Collection<VirtualFile> resourceRoots)

  - ### Method Detail

    - #### scan

          public void scan()
                    throws Exception

      Specified by:
        `scan` in interface `ResourcesScanner`
      Throws:
        `Exception`

    - #### getResources

          public Collection<ResourceKey> getResources()

      Specified by:
        `getResources` in interface `ResourcesScanner`

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