public class Common extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FETCH_ROUTINE_INTERVAL_MINUTES |
static String |
HELP_FILE |
static String |
IMAGE_JPEG |
static String |
IMAGE_NOT_FOUND_FILE |
static String |
NATIVE_2050_PROP |
static String |
NATIVE_PROP |
static String |
SCOPE_PROP |
static String |
SPECIES_PARAM |
static String |
SUITABLE_2050_PROP |
static String |
SUITABLE_PROP |
Constructor and Description |
---|
Common() |
Modifier and Type | Method and Description |
---|---|
static Common |
get() |
org.gcube.application.aquamaps.aquamapsservice.client.proxies.Maps |
getAMInterface() |
com.j256.ormlite.dao.Dao<SpeciesInfo,String> |
getDao() |
InputStream |
getHelpStream() |
InputStream |
getImageNotFound() |
Long |
getLastCompletedUpdate() |
Map<String,String> |
getLastConfiguration() |
InputStream |
getNative2050Map(String scientificName) |
InputStream |
getNativeMap(String scientificName) |
String |
getProperty(String property) |
InputStream |
getSpeciesPicture(String scientificName) |
InputStream |
getSuitable2050Map(String scientificName) |
InputStream |
getSuitableMap(String scientificName) |
void |
setLastCompletedUpdate(Long lastCompletedUpdate) |
void |
setLastConfiguration(Map<String,String> lastConfiguration) |
public static final String SPECIES_PARAM
public static final String IMAGE_JPEG
public static final String SCOPE_PROP
public static final String SUITABLE_PROP
public static final String SUITABLE_2050_PROP
public static final String NATIVE_PROP
public static final String NATIVE_2050_PROP
public static final String HELP_FILE
public static final String IMAGE_NOT_FOUND_FILE
public static final String FETCH_ROUTINE_INTERVAL_MINUTES
public static Common get()
public org.gcube.application.aquamaps.aquamapsservice.client.proxies.Maps getAMInterface() throws Exception
Exception
public InputStream getSuitableMap(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getSuitable2050Map(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getNativeMap(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getNative2050Map(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getSpeciesPicture(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getImageNotFound()
public InputStream getHelpStream()
public com.j256.ormlite.dao.Dao<SpeciesInfo,String> getDao()
public void setLastCompletedUpdate(Long lastCompletedUpdate)
public Long getLastCompletedUpdate()
Copyright © 2014. All Rights Reserved.