Class CathInstallation

    • Constructor Detail

      • CathInstallation

        public CathInstallation​(String cacheLocation,
                                boolean usingCDDF,
                                boolean parseCF)
      • CathInstallation

        public CathInstallation​(String cacheLocation)
      • CathInstallation

        public CathInstallation()
    • Method Detail

      • getDomainListFileName

        public String getDomainListFileName()
      • getDomainDescriptionFileName

        public String getDomainDescriptionFileName()
      • getNodeListFileName

        public String getNodeListFileName()
      • getDomallFileName

        public String getDomallFileName()
      • getCathDownloadUrl

        public String getCathDownloadUrl()
      • setCathDownloadUrl

        public void setCathDownloadUrl​(String cathDownloadUrl)
      • getCacheLocation

        public String getCacheLocation()
      • setCacheLocation

        public void setCacheLocation​(String cacheLocation)
      • getInstalledDomainList

        public AtomicBoolean getInstalledDomainList()
      • setInstalledDomainList

        public void setInstalledDomainList​(AtomicBoolean installedDomainList)
      • getInstalledDomainDescription

        public AtomicBoolean getInstalledDomainDescription()
      • setInstalledDomainDescription

        public void setInstalledDomainDescription​(AtomicBoolean installedDomainDescription)
      • getInstalledNodeList

        public AtomicBoolean getInstalledNodeList()
      • setInstalledNodeList

        public void setInstalledNodeList​(AtomicBoolean installedNodeList)
      • setInstalledDomall

        public void setInstalledDomall​(AtomicBoolean installedDomall)
      • filterByCathCode

        public List<CathDomain> filterByCathCode​(String query)
        Description copied from interface: CathDatabase
        Return list of CATH descriptions whose CATH codes (e.g. 1.4.6.10) start with the query. This is currently redundant with getDescriptionsByNodeId.
        Specified by:
        filterByCathCode in interface CathDatabase
        Returns:
        CATH descriptions
      • filterByNodeName

        public List<CathDomain> filterByNodeName​(String query)
        Description copied from interface: CathDatabase
        Return list of CATH domains whose node name (e.g. Orthogonal Bundle) starts with the query.
        Specified by:
        filterByNodeName in interface CathDatabase
        Returns:
        CATH domains
      • downloadDomainDescriptionFile

        protected void downloadDomainDescriptionFile()
                                              throws IOException
        Throws:
        IOException
      • ensureDomainListInstalled

        public void ensureDomainListInstalled()
      • ensureDomainDescriptionInstalled

        public void ensureDomainDescriptionInstalled()
      • ensureNodeListInstalled

        public void ensureNodeListInstalled()
      • ensureDomallInstalled

        public void ensureDomallInstalled()
      • setCathVersion

        public void setCathVersion​(String cathVersion)