eVe Interfaces Used in eVe Demo

 

This section describes the interfaces and methods used by the eVe demo. See the API Reference Guide for more detailed information about these interfaces and methods.

MediaCollection

The following methods from the MediaCollection interface were used in the eVe demo:

 

method

what does it do?

open(String Path)

Opens the MediaCollection contained in the directory stored in Path.

getKeys

Returns the keys for all MediaObjects in the MediaCollection.

getMediaObject(long key)

Retrieves the MediaObject with the specified key.

search(MediaObject eve, SearchParameter parameters)

Searches an opened MediaCollection for MediaObjects that are visually similar to the specified MediaObject.

 

MediaObject

The following method from the MediaObject interface was used in the eVe demo:

 

SearchResults

The following methods from the SearchResults interface were used in the web demo:

 

method

what does it do?

getkey()

Returns the key for a SearchResults object.

getSimilarity()

Returns the similarity for a SearchResults object based on the search criteria.

 

SearchParameters

The following method from the SearchParameters interface was used in the web demo: