org.semanticdesktop.aperture.datasource.mbox
Class MboxDataSource

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.mbox.MboxDataSource
All Implemented Interfaces:
DomainBoundable, DataSource

public class MboxDataSource
extends DomainBoundableDataSource

Data source class file. Created by org.semanticdesktop.aperture.datasource.mojo.DataSourceClassGenerator on Thu Jul 01 14:28:16 CEST 2010 input file: D:\intella\aperture-trunk\target\checkout\core\src\main\resources\org\semanticdesktop\aperture\datasource\mbox\mboxDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2008/02/03/mboxds#MboxDataSource


Constructor Summary
MboxDataSource()
           
 
Method Summary
 Integer getMaximumDepth()
          Returns the Maximum depth of the crawl
 Long getMaximumSize()
          Returns the Maximum size (in bytes) of the attachments that are to be reported by the crawler
 String getMboxPath()
          Returns the The path to the mbox file
 URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 void setMaximumDepth(Integer maximumDepth)
          Sets the Maximum depth of the crawl
 void setMaximumSize(Long maximumSize)
          Sets the Maximum size (in bytes) of the attachments that are to be reported by the crawler
 void setMboxPath(String mboxPath)
          Sets the The path to the mbox file
 
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

MboxDataSource

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

getMboxPath

public String getMboxPath()
Returns the The path to the mbox file

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

setMboxPath

public void setMboxPath(String mboxPath)
Sets the The path to the mbox file

Parameters:
mboxPath - The path to the mbox file, 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 the attachments that are to be reported by the crawler

Returns:
the Maximum size (in bytes) of the attachments that are to be 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 the attachments that are to be reported by the crawler

Parameters:
maximumSize - Maximum size (in bytes) of the attachments that are to be 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

getMaximumDepth

public Integer getMaximumDepth()
Returns the Maximum depth of the crawl

Returns:
the Maximum depth of the crawl 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 Maximum depth of the crawl

Parameters:
maximumDepth - Maximum depth of the crawl, 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.