Qizx fe-4.4p2 API

com.qizx.api
Interface Indexing.NumberSieve

All Superinterfaces:
Indexing.Sieve
All Known Subinterfaces:
Indexing.DateSieve
All Known Implementing Classes:
FormatDateSieve, FormatNumberSieve, ISODateSieve
Enclosing class:
Indexing

public static interface Indexing.NumberSieve
extends Indexing.Sieve

Pluggable analyzer/converter of numeric values, for custom indexing.


Method Summary
 double convert(String text)
          Attempts to convert the text fragment to a double value.
 
Methods inherited from interface com.qizx.api.Indexing.Sieve
getParameters, setParameters
 

Method Detail

convert

double convert(String text)
Attempts to convert the text fragment to a double value.

Parameters:
text - an alleged numeric value in text form.
Returns:
the converted value, or NaN if the conversion is not possible. Should raise no exception

© 2010 Axyana Software