Class ScopMirror


  • public class ScopMirror
    extends Object
    Helper class to store paths to the four SCOP files The string "%s" is replaced with the version number.
    Author:
    Spencer Bliven
    • Constructor Detail

      • ScopMirror

        public ScopMirror​(String claURL,
                          String desURL,
                          String hieURL,
                          String comURL)
        Specify all keys individually
      • ScopMirror

        public ScopMirror​(String url,
                          String claURL,
                          String desURL,
                          String hieURL,
                          String comURL)
        Specify a common root URL which is concatenated with individual filenames
      • ScopMirror

        public ScopMirror​(String url)
      • ScopMirror

        public ScopMirror()
        Use default MRC location
    • Method Detail

      • getRootURL

        public String getRootURL()
        Get the URL for the root download directory, or null if none is set.
        Returns:
      • getClaURL

        public String getClaURL​(String scopVersion)
      • getDesURL

        public String getDesURL​(String scopVersion)
      • getHieURL

        public String getHieURL​(String scopVersion)
      • getComURL

        public String getComURL​(String scopVersion)
      • isReachable

        public boolean isReachable()