org.eclipse.higgins.idas.registry.discovery
Class FileDiscovery

java.lang.Object
  extended byorg.eclipse.higgins.idas.registry.discovery.AbstractDiscovery
      extended byorg.eclipse.higgins.idas.registry.discovery.FileDiscovery
All Implemented Interfaces:
IDiscovery

public class FileDiscovery
extends AbstractDiscovery

A Discovery implementation that reads an XRDS document from a file.

Author:
msabadello at parityinc dot net

Constructor Summary
FileDiscovery(File file)
           
 
Method Summary
 org.openxri.xml.XRDS discoverXRDS()
           
 String toString()
           
 
Methods inherited from class org.eclipse.higgins.idas.registry.discovery.AbstractDiscovery
discoverAllServices, discoverDefaultService, discoverService, discoverServices, discoverXRD
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileDiscovery

public FileDiscovery(File file)
Method Detail

discoverXRDS

public org.openxri.xml.XRDS discoverXRDS()
                                  throws DiscoveryException
Specified by:
discoverXRDS in interface IDiscovery
Specified by:
discoverXRDS in class AbstractDiscovery
Throws:
DiscoveryException

toString

public String toString()