org.biojava.bio.structure.domain
Class RemoteDomainProvider

java.lang.Object
  extended by org.biojava.bio.structure.domain.SerializableCache<String,SortedSet<String>>
      extended by org.biojava.bio.structure.domain.RemoteDomainProvider
All Implemented Interfaces:
DomainProvider

public class RemoteDomainProvider
extends SerializableCache<String,SortedSet<String>>
implements DomainProvider


Field Summary
 String url
           
 
Fields inherited from class org.biojava.bio.structure.domain.SerializableCache
cacheFileName, serializedCache
 
Constructor Summary
RemoteDomainProvider()
           
RemoteDomainProvider(boolean cache)
          initialize this provider with caching enabled
 
Method Summary
 void flushCache()
           
 SortedSet<String> getDomainNames(String name)
           
 SortedSet<String> getRepresentativeDomains()
           
static void main(String[] args)
           
 
Methods inherited from class org.biojava.bio.structure.domain.SerializableCache
cache, disableCache, enableCache, get, isCacheEnabled, isDebug, reloadFromFile, setDebug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

public String url
Constructor Detail

RemoteDomainProvider

public RemoteDomainProvider()

RemoteDomainProvider

public RemoteDomainProvider(boolean cache)
initialize this provider with caching enabled

Parameters:
cache -
Method Detail

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