org.gcube.data.tml
Class Utils

java.lang.Object
  extended by org.gcube.data.tml.Utils

public class Utils
extends Object

Library-wide utilities.

Author:
Fabio Simeoni

Nested Class Summary
static class Utils.PathSerialiser
          A Generator that serialises Paths into streams.
 
Constructor Summary
Utils()
           
 
Method Summary
static void notNull(String name, Object value)
          Checks that the input is not null
 
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

notNull

public static void notNull(String name,
                           Object value)
                    throws IllegalArgumentException
Checks that the input is not null

Parameters:
name - the name of the value to report in error messages
value - the value
Throws:
IllegalArgumentException - if the value is null


Copyright © 2013. All Rights Reserved.