public String getDasRegistryURL()
{
- String registry = jalview.bin.Cache.getDefault("DAS_REGISTRY_URL",
+ String registry = Cache.getDefault("DAS_REGISTRY_URL",
DEFAULT_REGISTRY);
if (registry.indexOf("/registry/das1/sources/") > -1)
{
- jalview.bin.Cache.setProperty(jalview.bin.Cache.DAS_REGISTRY_URL,
+ Cache.setProperty(Cache.DAS_REGISTRY_URL,
DEFAULT_REGISTRY);
registry = DEFAULT_REGISTRY;
}
if (registry.lastIndexOf("sources.xml") == registry.length() - 11)
{
// no trailing sources.xml document for registry in JDAS
- jalview.bin.Cache.setProperty(
- jalview.bin.Cache.DAS_REGISTRY_URL,
+ Cache.setProperty(
+ Cache.DAS_REGISTRY_URL,
registry = registry.substring(0,
registry.lastIndexOf("sources.xml")));
}
if (localSources == null)
{
// get local sources from properties and initialise the local source list
- String local = jalview.bin.Cache.getProperty("DAS_LOCAL_SOURCE");
+ String local = Cache.getProperty("DAS_LOCAL_SOURCE");
if (local != null)
{
localSources.remove(source.getTitle());
sourceNames.remove(source.getTitle());
dasSources.remove(source);
- jalview.bin.Cache.setProperty("DAS_LOCAL_SOURCE",
+ Cache.setProperty("DAS_LOCAL_SOURCE",
getLocalSourceString());
return true;