ScopesUtil
Date: 2014-11-12

org.gcube.informationsystem.cache

## Class ScopesUtil

- java.lang.Object
- - org.gcube.informationsystem.cache.ScopesUtil

-     public class ScopesUtil
      extends java.lang.Object

  Author:
    paul

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScopesUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String[]` | `enumerateParentScopes(java.lang.String scope)` Retrieves all parent scopes without the original scope.
    `static void` | `main(java.lang.String[] args)` Main

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

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

- - ### Constructor Detail

    - #### ScopesUtil

          public ScopesUtil()

  - ### Method Detail

    - #### enumerateParentScopes

          public static java.lang.String[] enumerateParentScopes(java.lang.String scope)

      Retrieves all parent scopes without the original scope. Scopes are paths within tree-like constructs, e.g. /A/B/C.
      Parameters:
        `scope` - gcube scope
      Returns:
        all parent scopes without the original scope

    - #### main

          public static void main(java.lang.String[] args)

      Main
      Parameters:
        `args` - main arguments