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()
CathDatabasegetCathVersion in interface CathDatabasepublic CathNode getCathNode(String nodeId)
CathDatabasegetCathNode in interface CathDatabasepublic List<CathDomain> getByCategory(CathCategory category)
CathDatabasegetByCategory in interface CathDatabasepublic List<CathDomain> filterByCathCode(String query)
CathDatabasefilterByCathCode in interface CathDatabasepublic List<CathNode> getTree(CathDomain domain)
CathDatabasegetTree in interface CathDatabasepublic List<CathDomain> filterByNodeName(String query)
CathDatabasefilterByNodeName in interface CathDatabasepublic List<CathDomain> filterByDescription(String query)
CathDatabasefilterByDescription in interface CathDatabasepublic CathDomain getDescriptionByNodeId(String nodeId)
CathDatabasegetDescriptionByNodeId in interface CathDatabasepublic List<CathDomain> getDomainsForPdb(String pdbId)
CathDatabasegetDomainsForPdb in interface CathDatabasepublic CathDomain getDomainByCathId(String cathId)
CathDatabasegetDomainByCathId in interface CathDatabasepublic CathDomain getDescriptionByCathId(String cathId)
CathDatabasegetDescriptionByCathId in interface CathDatabasepublic List<CathDomain> getDomainsByNodeId(String nodeId)
CathDatabasegetDomainsByNodeId in interface CathDatabasepublic List<CathFragment> getFragmentsByPdbId(String pdbId)
getFragmentsByPdbId in interface CathDatabaseprotected void downloadFileFromRemote(URL remoteURL, File localFile) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionprotected void downloadDomainListFile()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionprotected void downloadDomainDescriptionFile()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionprotected void downloadNodeListFile()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionprotected void downloadDomallFile()
throws IOException
IOExceptionpublic void ensureDomainListInstalled()
public void ensureDomainDescriptionInstalled()
public void ensureNodeListInstalled()
public void ensureDomallInstalled()
public void setCathVersion(String cathVersion)
Copyright © 2000–2016 BioJava. All rights reserved.