Package com.enonic.xp.resource

## Class ResourceProcessor<K,​V>

- java.lang.Object
- - com.enonic.xp.resource.ResourceProcessor<K,​V>

-     public final class ResourceProcessor<K,​V>
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ResourceProcessor.Builder<K,​V>` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `K` | `getKey()` |
    `String` | `getSegment()` |
    `V` | `process​(Resource resource)` |
    `ResourceKey` | `toResourceKey()` |

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

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

- - ### Method Detail

    - #### getKey

          public K getKey()

    - #### getSegment

          public String getSegment()

    - #### toResourceKey

          public ResourceKey toResourceKey()

    - #### process

          public V process​(Resource resource)