org.gcube.application.aquamaps.aquamapsservice.impl.util
Class ServiceUtils

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.impl.util.ServiceUtils

public class ServiceUtils
extends Object


Constructor Summary
ServiceUtils()
           
 
Method Summary
static void deleteFile(String path)
           
static String fileToString(String path)
           
static String formatTimeStamp(long time)
           
static String generateId(String prefix, String suffix)
           
static String getDate()
           
static String getTimeStamp()
           
static String URLtoString(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUtils

public ServiceUtils()
Method Detail

fileToString

public static String fileToString(String path)
                           throws IOException
Throws:
IOException

URLtoString

public static String URLtoString(String path)
                          throws IOException
Throws:
IOException

deleteFile

public static void deleteFile(String path)
                       throws IOException
Throws:
IOException

generateId

public static String generateId(String prefix,
                                String suffix)

getTimeStamp

public static String getTimeStamp()

getDate

public static String getDate()

formatTimeStamp

public static String formatTimeStamp(long time)


Copyright © 2013. All Rights Reserved.