org.semanticdesktop.aperture.datasource.filesystem
Class FileSystemDataSourceFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.filesystem.FileSystemDataSourceFactory
All Implemented Interfaces:
DataSourceFactory

public class FileSystemDataSourceFactory
extends Object
implements DataSourceFactory

ImapDataSourceFactory returns instances of the ImapDataSource class.


Constructor Summary
FileSystemDataSourceFactory()
           
 
Method Summary
 boolean getDescription(Model model)
          Puts a description of this data source into the given model.
 URI getSupportedType()
          Returns the URI of the supported DataSource type.
 DataSource newInstance()
          Returns a new instance of the supported DataSource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemDataSourceFactory

public FileSystemDataSourceFactory()
Method Detail

getSupportedType

public URI getSupportedType()
Description copied from interface: DataSourceFactory
Returns the URI of the supported DataSource type.

Specified by:
getSupportedType in interface DataSourceFactory
See Also:
DataSourceFactory.getSupportedType()

newInstance

public DataSource newInstance()
Description copied from interface: DataSourceFactory
Returns a new instance of the supported DataSource type.

Specified by:
newInstance in interface DataSourceFactory
See Also:
DataSourceFactory.newInstance()

getDescription

public boolean getDescription(Model model)
Description copied from interface: DataSourceFactory
Puts a description of this data source into the given model. This description should be expressed in fresnel vocabulary. It should be a single fresnel:Lens, with a fresnel:classLensDomain set to the URI of the type supported by this factory (returned by the getSupportedType method). See the fresnel user manual for details.

Specified by:
getDescription in interface DataSourceFactory
Returns:
true if the description has been put into the model
false if not e.g. if there is no such description.
See Also:
DataSourceFactory.getDescription(Model)


Copyright © 2010 Aperture Development Team. All Rights Reserved.