Interface Transform<S,​D>

  • All Known Subinterfaces:
    StringTransform
    All Known Implementing Classes:
    RuleBasedTransliterator, Transliterator

    public interface Transform<S,​D>
    Provide an interface for Transforms that focuses just on the transformation of the text. APIs that take Transliterator or StringTransform, but only depend on the transformation should use this interface in the API instead.
    Author:
    markdavis
    • Method Detail

      • transform

        D transform​(S source)
        Transform the input in some way, to be determined by the subclass.
        Parameters:
        source - to be transformed (eg lowercased)
        Returns:
        result