org.gcube.application.aquamaps.aquamapsservice.impl.util
Class ServiceUtils
java.lang.Object
org.gcube.application.aquamaps.aquamapsservice.impl.util.ServiceUtils
public class ServiceUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceUtils
public ServiceUtils()
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.