org.gcube.data.spd.irmng
Class Utils

java.lang.Object
  extended by org.gcube.data.spd.irmng.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static String createCitation()
           
static String createCredits()
           
static String createDate()
           
static boolean createDB()
          Metod called by CreateDBThread
static Calendar getCalendar(String date1)
          Get date
static String setScName(String id, String rank)
          Set scientific name without author
static boolean SQLTableExists(String tableName)
          Return true if a table exists
 
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

SQLTableExists

public static boolean SQLTableExists(String tableName)
Return true if a table exists


createDB

public static boolean createDB()
                        throws SQLException,
                               IOException
Metod called by CreateDBThread

Throws:
SQLException
IOException

getCalendar

public static Calendar getCalendar(String date1)
Get date


setScName

public static String setScName(String id,
                               String rank)
Set scientific name without author


createDate

public static String createDate()

createCitation

public static String createCitation()

createCredits

public static String createCredits()


Copyright © 2013. All Rights Reserved.