public class BioModelsChange extends Change
Modifier and Type | Field and Description |
---|---|
static String |
HASH_ALGORITHM |
static String |
HASH_ALGORITHM_FALLBACK |
static String |
META_HASH |
fileName, filePath, repositoryUrl, versionId, xmlFile
DATE_FORMAT
Constructor and Description |
---|
BioModelsChange(URL repositoryUrl,
String filePath,
String versionId,
Date versionDate,
Date crawledDate) |
Modifier and Type | Method and Description |
---|---|
protected String |
calcXmlHash(File xmlFile) |
protected String |
calcXmlHash(File xmlFile,
String algo) |
String |
getHash() |
boolean |
setXmlFile(File xmlFile) |
boolean |
setXmlFile(File xmlFile,
String hash) |
compareTo, generateFileId, getChangeCrawledDate, getChangeFileName, getChangeFilePath, getChangeRepositoryUrl, getChangeVersionDate, getChangeVersionId, getCrawledDate, getVersionDate, getXmlFile, setCrawledDate, setVersionDate, setXmlFile, toString
addParent, addParent, extendDataholder, getMeta, isAvailable, setMeta
public static final String HASH_ALGORITHM
public static final String HASH_ALGORITHM_FALLBACK
public static final String META_HASH
public BioModelsChange(URL repositoryUrl, String filePath, String versionId, Date versionDate, Date crawledDate) throws URISyntaxException
URISyntaxException
public boolean setXmlFile(File xmlFile)
setXmlFile
in class Change
public String getHash()
Copyright © 2019 SEMS (Simulation Experiment Management for Systems Biology). All rights reserved.