org.gcube.common.ghn.service.utils
Class Utils

java.lang.Object
  extended by org.gcube.common.ghn.service.utils.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static org.gcube.common.resources.gcore.GCoreEndpoint getEndpointResource(Coordinates coordinate)
           
static void notEmpty(String name, Object[] o)
           
static void notEmpty(String name, String o)
           
static void notNull(Object[] o)
           
static void notNull(String name, Object o)
           
static void valid(String name, Object[] o)
           
static void valid(String name, String o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getEndpointResource

public static org.gcube.common.resources.gcore.GCoreEndpoint getEndpointResource(Coordinates coordinate)

valid

public static void valid(String name,
                         Object[] o)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException

notNull

public static void notNull(Object[] o)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

notNull

public static void notNull(String name,
                           Object o)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

notEmpty

public static void notEmpty(String name,
                            String o)
                     throws IllegalArgumentException
Throws:
IllegalArgumentException

notEmpty

public static void notEmpty(String name,
                            Object[] o)
                     throws IllegalArgumentException
Throws:
IllegalArgumentException

valid

public static void valid(String name,
                         String o)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2013. All Rights Reserved.