|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceDetector
Detects a possible datasource on the desktop of the currently logged in user. Returns the detected datasource(s) using the DataSourceDescription class. Intended to be used by Desktop search engines to propose possible datasources that users can index.
Method Summary | |
---|---|
List<DataSourceDescription> |
detect()
Detect one or more datasources. returns an empty list if nothing detected |
URI |
getSupportedType()
Returns the URI of the supported DataSource type. |
Method Detail |
---|
URI getSupportedType()
DataSourceFactory.getSupportedType()
List<DataSourceDescription> detect() throws Exception
null
Exception
- if there is a severe problem when detecting the datasource.
The method will only throw an Exception, if it can usually detect a datasource,
but is not able to detect it due to a faulty environment.
For example, if the operating system is Apple, but the Address book was removed,
or if Microsoft Outlook is detected, but in a version that is unknown.
Error messages must be readable by the end-user and give hints how to
add the datasource by hand or how to fix the problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |