org.gcube.application.aquamaps.aquamapsservice.impl.publishing
Class FileSetUtils

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.impl.publishing.FileSetUtils

public class FileSetUtils
extends Object


Constructor Summary
FileSetUtils()
           
 
Method Summary
static StringBuilder[] clusterize(ResultSet rs, int maxIndex, int toClusterIndex, int probabilityIndex, boolean bioDiversity)
          Clusterize rs in N stringBuilders compliant with CsquareCode convention
static Map<String,String> generateFileMap(String csqString, String objectTitle)
           
static List<String> getTempFiles(String objectTitle)
           
static String getTempMapsFolder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSetUtils

public FileSetUtils()
Method Detail

getTempMapsFolder

public static final String getTempMapsFolder()

generateFileMap

public static Map<String,String> generateFileMap(String csqString,
                                                 String objectTitle)
                                          throws Exception
Throws:
Exception

getTempFiles

public static List<String> getTempFiles(String objectTitle)

clusterize

public static StringBuilder[] clusterize(ResultSet rs,
                                         int maxIndex,
                                         int toClusterIndex,
                                         int probabilityIndex,
                                         boolean bioDiversity)
                                  throws SQLException
Clusterize rs in N stringBuilders compliant with CsquareCode convention

Parameters:
rs -
maxIndex - the column index to retrieve max value
toClusterIndex - the column index of CsquareCodes
probabilityIndex - the column index of probability
Returns:
Throws:
SQLException


Copyright © 2014. All Rights Reserved.