org.gcube.informationsystem.cache
Class ScopesUtil

java.lang.Object
  extended by org.gcube.informationsystem.cache.ScopesUtil

public class ScopesUtil
extends java.lang.Object

Author:
paul

Constructor Summary
ScopesUtil()
           
 
Method Summary
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