Package org.biojava.nbio.structure.scop
Class ScopMirror
- java.lang.Object
-
- org.biojava.nbio.structure.scop.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 Summary
Constructors Constructor Description ScopMirror()Use default MRC locationScopMirror(String url)ScopMirror(String claURL, String desURL, String hieURL, String comURL)Specify all keys individuallyScopMirror(String url, String claURL, String desURL, String hieURL, String comURL)Specify a common root URL which is concatenated with individual filenames
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClaURL(String scopVersion)StringgetComURL(String scopVersion)StringgetDesURL(String scopVersion)StringgetHieURL(String scopVersion)StringgetRootURL()Get the URL for the root download directory, or null if none is set.booleanisReachable()
-
-
-
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:
-
isReachable
public boolean isReachable()
-
-