celeboss
Interface CelebDataSourceFactory

All Known Implementing Classes:
FileFactory, WebDataSourceFactory

public interface CelebDataSourceFactory

This interface represents an abstract factory pattern that creates data source which produce HTML data on the Celebdaq details.

Version:
1.0
Author:
bevans

Method Summary
 CelebDataSource createSource(java.lang.String username, java.lang.String password)
          This method creates a new data source for the specific user account.
 void setOptions(java.lang.String factoryOptions)
          This method passes any number of text based options to the factory.
 

Method Detail

createSource

public CelebDataSource createSource(java.lang.String username,
                                    java.lang.String password)
This method creates a new data source for the specific user account.

Parameters:
username - User name.
password - Password.
Returns:
New datasource attached to the user account.

setOptions

public void setOptions(java.lang.String factoryOptions)
This method passes any number of text based options to the factory.

Parameters:
factoryOptions - String of options.