celeboss.HTMLload
Class FileFactory

java.lang.Object
  extended byceleboss.HTMLload.FileFactory
All Implemented Interfaces:
CelebDataSourceFactory

public class FileFactory
extends java.lang.Object
implements CelebDataSourceFactory

This is the implementation of the Abstract Factory pattern. It's purpose is to provide a test service.

Version:
1.0
Author:
bevans

Field Summary
static java.lang.String DEFAULTCACHE
          This is the default cache directory
 
Constructor Summary
FileFactory()
           
 
Method Summary
 CelebDataSource createSource(java.lang.String username, java.lang.String password)
          Creates a new File Data source instance.
 void setOptions(java.lang.String factoryOptions)
          FIle factory has no options
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTCACHE

public static final java.lang.String DEFAULTCACHE
This is the default cache directory

See Also:
Constant Field Values
Constructor Detail

FileFactory

public FileFactory()
Method Detail

createSource

public CelebDataSource createSource(java.lang.String username,
                                    java.lang.String password)
Creates a new File Data source instance.

Specified by:
createSource in interface CelebDataSourceFactory
Parameters:
username - Name of user.
password - Password entry, this is unused.
Returns:
New File data source.

setOptions

public void setOptions(java.lang.String factoryOptions)
FIle factory has no options

Specified by:
setOptions in interface CelebDataSourceFactory
Parameters:
factoryOptions - Options