org.gcube.data.spd.plugin.fwk.util
Class Util

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.util.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static
<T extends org.gcube.data.spd.model.products.ResultElement>
T
copy(T obj)
           
static File getDarwinCoreFile(OccurrencesReader reader)
           
static String getIdFromKey(String key)
           
static String getProviderFromKey(String key)
           
static String keyEnrichment(String provider, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

keyEnrichment

public static String keyEnrichment(String provider,
                                   String key)

getProviderFromKey

public static String getProviderFromKey(String key)
                                 throws org.gcube.data.spd.model.exceptions.IdNotValidException
Throws:
org.gcube.data.spd.model.exceptions.IdNotValidException

getIdFromKey

public static String getIdFromKey(String key)
                           throws org.gcube.data.spd.model.exceptions.IdNotValidException
Throws:
org.gcube.data.spd.model.exceptions.IdNotValidException

copy

public static <T extends org.gcube.data.spd.model.products.ResultElement> T copy(T obj)
                                                                      throws JAXBException
Throws:
JAXBException

getDarwinCoreFile

public static File getDarwinCoreFile(OccurrencesReader reader)
                              throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.