public class CathInstallation extends Object implements CathDatabase
Modifier and Type | Field and Description |
---|---|
static String |
CATH_DOWNLOAD |
static String |
DEFAULT_VERSION |
static String |
domainDescriptionFileName |
static String |
domainListFileName |
static String |
domallFileName |
static String |
FILESPLIT |
static String |
NEWLINE |
static String |
nodeListFileName |
Constructor and Description |
---|
CathInstallation() |
CathInstallation(String cacheLocation) |
CathInstallation(String cacheLocation,
boolean usingCDDF,
boolean parseCF) |
public static final String DEFAULT_VERSION
public static final String domainListFileName
public static final String domainDescriptionFileName
public static final String nodeListFileName
public static final String domallFileName
public static final String CATH_DOWNLOAD
public static final String NEWLINE
public static final String FILESPLIT
public CathInstallation(String cacheLocation, boolean usingCDDF, boolean parseCF)
public CathInstallation(String cacheLocation)
public CathInstallation()
public String getDomainListFileName()
public String getDomainDescriptionFileName()
public String getNodeListFileName()
public String getDomallFileName()
public String getCathDownloadUrl()
public void setCathDownloadUrl(String cathDownloadUrl)
public String getCacheLocation()
public void setCacheLocation(String cacheLocation)
public AtomicBoolean getInstalledDomainList()
public void setInstalledDomainList(AtomicBoolean installedDomainList)
public AtomicBoolean getInstalledDomainDescription()
public void setInstalledDomainDescription(AtomicBoolean installedDomainDescription)
public AtomicBoolean getInstalledNodeList()
public AtomicBoolean getInstalledDomall()
public void setInstalledNodeList(AtomicBoolean installedNodeList)
public void setInstalledDomall(AtomicBoolean installedDomall)
public String getCathVersion()
CathDatabase
getCathVersion
in interface CathDatabase
public CathNode getCathNode(String nodeId)
CathDatabase
getCathNode
in interface CathDatabase
public List<CathDomain> getByCategory(CathCategory category)
CathDatabase
getByCategory
in interface CathDatabase
public List<CathDomain> filterByCathCode(String query)
CathDatabase
filterByCathCode
in interface CathDatabase
public List<CathNode> getTree(CathDomain domain)
CathDatabase
getTree
in interface CathDatabase
public List<CathDomain> filterByNodeName(String query)
CathDatabase
filterByNodeName
in interface CathDatabase
public List<CathDomain> filterByDescription(String query)
CathDatabase
filterByDescription
in interface CathDatabase
public CathDomain getDescriptionByNodeId(String nodeId)
CathDatabase
getDescriptionByNodeId
in interface CathDatabase
public List<CathDomain> getDomainsForPdb(String pdbId)
CathDatabase
getDomainsForPdb
in interface CathDatabase
public CathDomain getDomainByCathId(String cathId)
CathDatabase
getDomainByCathId
in interface CathDatabase
public CathDomain getDescriptionByCathId(String cathId)
CathDatabase
getDescriptionByCathId
in interface CathDatabase
public List<CathDomain> getDomainsByNodeId(String nodeId)
CathDatabase
getDomainsByNodeId
in interface CathDatabase
public List<CathFragment> getFragmentsByPdbId(String pdbId)
getFragmentsByPdbId
in interface CathDatabase
protected void downloadFileFromRemote(URL remoteURL, File localFile) throws FileNotFoundException, IOException
FileNotFoundException
IOException
protected void downloadDomainListFile() throws FileNotFoundException, IOException
FileNotFoundException
IOException
protected void downloadDomainDescriptionFile() throws FileNotFoundException, IOException
FileNotFoundException
IOException
protected void downloadNodeListFile() throws FileNotFoundException, IOException
FileNotFoundException
IOException
protected void downloadDomallFile() throws IOException
IOException
public void ensureDomainListInstalled()
public void ensureDomainDescriptionInstalled()
public void ensureNodeListInstalled()
public void ensureDomallInstalled()
public void setCathVersion(String cathVersion)
Copyright © 2000–2016 BioJava. All rights reserved.