Package org.silverpeas.components.resourcesmanager.util

## Class ResourceUtil

- java.lang.Object
- - org.silverpeas.components.resourcesmanager.util.ResourceUtil

-     public class ResourceUtil
      extends Object

  User: Yohann Chastagnier Date: 04/04/13

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ResourceUtil()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<Long>` | `toIdList​(String stringOfIds)` | Get a list of resource identifiers from a string containing resource identifiers separated by comma.
    `static List<Long>` | `toIdList​(List<Resource> resources)` | Get a list of resource identifiers from a list of resource.

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

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

- - ### Constructor Detail

    - #### ResourceUtil

          public ResourceUtil()

  - ### Method Detail

    - #### toIdList

          public static List<Long> toIdList​(List<Resource> resources)

      Get a list of resource identifiers from a list of resource.
      Parameters:
        `resources` -
      Returns:

    - #### toIdList

          public static List<Long> toIdList​(String stringOfIds)

      Get a list of resource identifiers from a string containing resource identifiers separated by comma.
      Parameters:
        `stringOfIds` -
      Returns: