org.silverpeas.util
Interface StringDataExtractor.ExtractorDirective

All Known Implementing Classes:
StringDataExtractor.RegexpPatternDirective
Enclosing class:
StringDataExtractor

public static interface StringDataExtractor.ExtractorDirective

This interface permits to implement several way to extract data from a string.


Method Summary
 Set<String> extract(String source)
          Extracts the data according to the directive.
 

Method Detail

extract

Set<String> extract(String source)
Extracts the data according to the directive. All returned data are unique, so the result container contains no value doubloon.

Parameters:
source - the string source.
Returns:
the extracted unique data.


Copyright © 2016 Silverpeas. All Rights Reserved.