org.semanticdesktop.aperture.datasource.filesystem
Class FileSystemDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource
          extended by org.semanticdesktop.aperture.datasource.filesystem.FileSystemDataSource
All Implemented Interfaces:
DomainBoundable, DataSource

public class FileSystemDataSource
extends DomainBoundableDataSource

Data source class file. Created by org.semanticdesktop.aperture.datasource.mojo.DataSourceClassGenerator on Thu Jul 01 14:28:15 CEST 2010 input file: D:\intella\aperture-trunk\target\checkout\core\src\main\resources\org\semanticdesktop\aperture\datasource\filesystem\filesystemDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2007/08/12/filesystemds#FileSystemDataSource


Constructor Summary
FileSystemDataSource()
           
 
Method Summary
 Boolean getFollowSymbolicLinks()
          Returns the Should the crawler follow symbolic links?
 Boolean getIncludeHiddenResources()
          Returns the Should the hidden files and folders be included in crawl results?
 Integer getMaximumDepth()
          Returns the How many levels below the root folder should the crawled descend.
 Long getMaximumSize()
          Returns the Maximum size (in bytes) of files reported by the crawler
 String getRootFolder()
          Returns the Path to the root of the folder tree to be crawled
 Boolean getSuppressParentChildLinks()
          Returns the
 URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 void setFollowSymbolicLinks(Boolean followSymbolicLinks)
          Sets the Should the crawler follow symbolic links?
 void setIncludeHiddenResources(Boolean includeHiddenResources)
          Sets the Should the hidden files and folders be included in crawl results?
 void setMaximumDepth(Integer maximumDepth)
          Sets the How many levels below the root folder should the crawled descend.
 void setMaximumSize(Long maximumSize)
          Sets the Maximum size (in bytes) of files reported by the crawler
 void setRootFolder(String rootFolder)
          Sets the Path to the root of the folder tree to be crawled
 void setSuppressParentChildLinks(Boolean suppressParentChildLinks)
          Sets the
 
Methods inherited from class org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource
getDomainBoundaries, setDomainBoundaries
 
Methods inherited from class org.semanticdesktop.aperture.datasource.base.DataSourceBase
dispose, getComment, getConfiguration, getID, getName, getTimeout, setComment, setConfiguration, setName, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemDataSource

public FileSystemDataSource()
Method Detail

getType

public URI getType()
Description copied from interface: DataSource
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.

Returns:
A URI indicating the DataSource type
See Also:
DataSource.getType()

getRootFolder

public String getRootFolder()
Returns the Path to the root of the folder tree to be crawled

Returns:
the Path to the root of the folder tree to be crawled or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setRootFolder

public void setRootFolder(String rootFolder)
Sets the Path to the root of the folder tree to be crawled

Parameters:
rootFolder - Path to the root of the folder tree to be crawled, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getMaximumDepth

public Integer getMaximumDepth()
Returns the How many levels below the root folder should the crawled descend.

Returns:
the How many levels below the root folder should the crawled descend. or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setMaximumDepth

public void setMaximumDepth(Integer maximumDepth)
Sets the How many levels below the root folder should the crawled descend.

Parameters:
maximumDepth - How many levels below the root folder should the crawled descend., can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getMaximumSize

public Long getMaximumSize()
Returns the Maximum size (in bytes) of files reported by the crawler

Returns:
the Maximum size (in bytes) of files reported by the crawler or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setMaximumSize

public void setMaximumSize(Long maximumSize)
Sets the Maximum size (in bytes) of files reported by the crawler

Parameters:
maximumSize - Maximum size (in bytes) of files reported by the crawler, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getIncludeHiddenResources

public Boolean getIncludeHiddenResources()
Returns the Should the hidden files and folders be included in crawl results?

Returns:
the Should the hidden files and folders be included in crawl results? or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setIncludeHiddenResources

public void setIncludeHiddenResources(Boolean includeHiddenResources)
Sets the Should the hidden files and folders be included in crawl results?

Parameters:
includeHiddenResources - Should the hidden files and folders be included in crawl results?, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getFollowSymbolicLinks

public Boolean getFollowSymbolicLinks()
Returns the Should the crawler follow symbolic links?

Returns:
the Should the crawler follow symbolic links? or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setFollowSymbolicLinks

public void setFollowSymbolicLinks(Boolean followSymbolicLinks)
Sets the Should the crawler follow symbolic links?

Parameters:
followSymbolicLinks - Should the crawler follow symbolic links?, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getSuppressParentChildLinks

public Boolean getSuppressParentChildLinks()
Returns the

Returns:
the or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setSuppressParentChildLinks

public void setSuppressParentChildLinks(Boolean suppressParentChildLinks)
Sets the

Parameters:
suppressParentChildLinks - , can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method


Copyright © 2010 Aperture Development Team. All Rights Reserved.