org.semanticdesktop.aperture.crawler.samba
Class SambaDataSourceFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.crawler.samba.SambaDataSourceFactory
All Implemented Interfaces:
DataSourceFactory

public class SambaDataSourceFactory
extends Object
implements DataSourceFactory

SambaDataSourceFactory returns instances of SambaDataSource


Constructor Summary
SambaDataSourceFactory()
           
 
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

SambaDataSourceFactory

public SambaDataSourceFactory()
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

newInstance

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

Specified by:
newInstance in interface DataSourceFactory

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.


Copyright © 2010 Aperture Development Team. All Rights Reserved.