|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticdesktop.aperture.datasource.base.DataSourceBase org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource org.semanticdesktop.aperture.datasource.imap.ImapDataSource
public class ImapDataSource
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\imap\imapDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2007/08/12/imapds#ImapDataSource
Nested Class Summary | |
---|---|
static class |
ImapDataSource.ConnectionSecurity
Enum of possible values of the connectionSecurity property |
Constructor Summary | |
---|---|
ImapDataSource()
|
Method Summary | |
---|---|
Collection<String> |
getAllBasepaths()
Returns a collection of all values of The base path of the IMAP data source |
ImapDataSource.ConnectionSecurity |
getConnectionSecurity()
Returns the The level of security for the connection |
String |
getHostname()
Returns the The host name of the IMAP server |
Boolean |
getIgnoreUidValidity()
Returns the Should the crawler ignore the UID validity? |
Boolean |
getIncludeInbox()
Returns the Should the inbox itself be included in the crawl results? |
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 |
getPassword()
Returns the The Password used to access this datasource. |
Integer |
getPort()
Returns the The port number where the IMAP server is listening for connections |
String |
getSslFileName()
Returns the The path to the ssl keyfile |
String |
getSslFilePassword()
Returns the Keyphrase for the SSL keyfile |
URI |
getType()
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way. |
Boolean |
getUseHeadersHash()
Returns the On mh-backed IMAP folders the crawler doesn't use the UID as part of the URI. |
String |
getUsername()
Returns the Username used for authentication in a data source |
void |
setAllBasepaths(List<String> basepath)
Sets all The base path of the IMAP data sources at once |
void |
setBasepath(String basepath)
Sets the The base path of the IMAP data source |
void |
setConnectionSecurity(ImapDataSource.ConnectionSecurity connectionSecurity)
Sets the The level of security for the connection |
void |
setHostname(String hostname)
Sets the The host name of the IMAP server |
void |
setIgnoreUidValidity(Boolean ignoreUidValidity)
Sets the Should the crawler ignore the UID validity? |
void |
setIncludeInbox(Boolean includeInbox)
Sets the Should the inbox itself be included in the crawl results? |
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 |
setPassword(String password)
Sets the The Password used to access this datasource. |
void |
setPort(Integer port)
Sets the The port number where the IMAP server is listening for connections |
void |
setSslFileName(String sslFileName)
Sets the The path to the ssl keyfile |
void |
setSslFilePassword(String sslFilePassword)
Sets the Keyphrase for the SSL keyfile |
void |
setUseHeadersHash(Boolean useHeadersHash)
Sets the On mh-backed IMAP folders the crawler doesn't use the UID as part of the URI. |
void |
setUsername(String username)
Sets the Username used for authentication in a data source |
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 |
---|
public ImapDataSource()
Method Detail |
---|
public URI getType()
DataSource
DataSource.getType()
public String getHostname()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setHostname(String hostname)
hostname
- The host name of the IMAP server, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Integer getPort()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setPort(Integer port)
port
- The port number where the IMAP server is listening for connections, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic String getUsername()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setUsername(String username)
username
- Username used for authentication in a data source, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic String getPassword()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setPassword(String password)
password
- The Password used to access this datasource., can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Collection<String> getAllBasepaths()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setBasepath(String basepath)
basepath
- The base path of the IMAP data source, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this method
MultipleValuesException
- if this property had more that one value before this method was calledpublic void setAllBasepaths(List<String> basepath)
basepath
- The base path of the IMAP data source, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Boolean getIncludeInbox()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setIncludeInbox(Boolean includeInbox)
includeInbox
- Should the inbox itself be included in the crawl results?, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Long getMaximumSize()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setMaximumSize(Long maximumSize)
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
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Integer getMaximumDepth()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setMaximumDepth(Integer maximumDepth)
maximumDepth
- Maximum depth of the crawl, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Boolean getIgnoreUidValidity()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setIgnoreUidValidity(Boolean ignoreUidValidity)
ignoreUidValidity
- Should the crawler ignore the UID validity? THIS OPTION MAY BE DANGEROUS, USE AT YOUR OWN RISK, ONLY ON FAULTY SERVERS THAT DON'T PERSIST EMAIL IDs, ONLY IF YOU DON'T DELETE ANY EMAILS AND ONLY IF YOU REALLY NEED IT!!!! IF YOU DO DELETE AN EMAIL FROM SUCH A SERVER, THE CRAWLER WILL RETURN WRONG RESULTS, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic ImapDataSource.ConnectionSecurity getConnectionSecurity()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setConnectionSecurity(ImapDataSource.ConnectionSecurity connectionSecurity)
connectionSecurity
- The level of security for the connection, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic String getSslFileName()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setSslFileName(String sslFileName)
sslFileName
- The path to the ssl keyfile, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic String getSslFilePassword()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setSslFilePassword(String sslFilePassword)
sslFilePassword
- Keyphrase for the SSL keyfile, can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic Boolean getUseHeadersHash()
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this methodpublic void setUseHeadersHash(Boolean useHeadersHash)
useHeadersHash
- On mh-backed IMAP folders the crawler doesn't use the UID as part of the URI. Instead it uses the value of the Message-ID header combined with a hash of the entire message. This is slow as each incremental crawl requires the crawler do download all messages. Setting this option to true will cause the crawler to use only values of selected headers in hash computation. This increases the incremental crawling speed on mh-backed folders at the expense of overlooking certain messages with the same Message-ID and other headers values, but different content. The default is true for speed. If you need accuracy, to be 100% sure that no near-duplicate message pairs are omitted - set it to false., can be null in which case any previous setting will be removed
NullPointerException
- if no configuration has been set, use
DataSourceBase.setConfiguration(RDFContainer)
before calling this method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |