net.jxta.search.webprovider
Interface RegRetrievalService


public interface RegRetrievalService

Interface for registration retrieval services.


Method Summary
 int getContentLength()
          Retrieves the content length of the registration.
 java.io.InputStream getInputStream()
          retrieves the input stream of the registration.
 void retrieveRegistration(java.net.URL url)
          Retrieves the registration from the specified URL.
 

Method Detail

retrieveRegistration

public void retrieveRegistration(java.net.URL url)
                          throws java.io.IOException
Retrieves the registration from the specified URL.

getContentLength

public int getContentLength()
Retrieves the content length of the registration. Only valid after calling retrieveRegistration and having no resulting exception.

getInputStream

public java.io.InputStream getInputStream()
retrieves the input stream of the registration. Only valid after calling retrieveRegistration and having no resulting exception.