org.biojava.bio.structure.domain
Class RemoteDomainProvider
java.lang.Object
org.biojava.bio.structure.domain.SerializableCache<String,SortedSet<String>>
org.biojava.bio.structure.domain.RemoteDomainProvider
- All Implemented Interfaces:
- DomainProvider
public class RemoteDomainProvider
- extends SerializableCache<String,SortedSet<String>>
- implements DomainProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public String url
RemoteDomainProvider
public RemoteDomainProvider()
RemoteDomainProvider
public RemoteDomainProvider(boolean cache)
- initialize this provider with caching enabled
- Parameters:
cache
-
getDomainNames
public SortedSet<String> getDomainNames(String name)
- Specified by:
getDomainNames
in interface DomainProvider
main
public static void main(String[] args)
flushCache
public void flushCache()
- Overrides:
flushCache
in class SerializableCache<String,SortedSet<String>>
getRepresentativeDomains
public SortedSet<String> getRepresentativeDomains()
- Specified by:
getRepresentativeDomains
in interface DomainProvider