public class EchoBaseProject extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
protected static class |
EchoBaseProject.MapFileToSpeciesCodeFunction |
protected static class |
EchoBaseProject.SpeciesCodeToMapFileNameFunction |
Modifier and Type | Field and Description |
---|---|
protected String |
author |
protected File |
basedir
Base directory of the project.
|
protected String |
comment |
protected Date |
creationDate |
protected String |
facadeName |
static String |
METADATA_FILE |
protected boolean |
publiableResult
Result publiable.
|
protected String |
surveyName |
protected String |
zoneName |
Constructor and Description |
---|
EchoBaseProject(File basedir) |
public static final String METADATA_FILE
protected final File basedir
protected String author
protected String facadeName
protected String zoneName
protected String surveyName
protected String comment
protected Date creationDate
protected boolean publiableResult
public EchoBaseProject(File basedir)
public File getBasedir()
public String getName()
public String getAuthor()
public void setAuthor(String author)
public String getFacadeName()
public void setFacadeName(String facadeName)
public String getZoneName()
public void setZoneName(String zoneName)
public String getSurveyName()
public void setSurveyName(String surveyName)
public String getComment()
public void setComment(String comment)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public boolean isPubliableResult()
public void setPubliableResult(boolean publiableResult)
public File getSpeciesDefinitionFile()
public File getPopulationIndicatorsFile()
public File getCommunityIndicatorsFile()
public File getMapsDirectory()
public File getRawDataDirectory()
public void load() throws IOException
IOException
- if could not read the meta data filepublic void save() throws IOException
IOException
- if could not write the meta-data fileprotected File getMetaDataFile()
protected Properties toProperties()
protected void fromProperties(Properties props)
public static FilenameFilter newMapSpeciesFilenameFilter(String surveyName)
public static com.google.common.base.Function<File,String> newMapFileToSpeciesCode(String surveyName)
Copyright © 2010–2015 Ifremer. All rights reserved.