Interface StringTransform

  • All Superinterfaces:
    Transform<java.lang.String,​java.lang.String>
    All Known Implementing Classes:
    RuleBasedTransliterator, Transliterator

    public interface StringTransform
    extends Transform<java.lang.String,​java.lang.String>
    Provide a base class for Transforms that focuses just on the transformation of the text. APIs that take Transliterator, but only depend on the text transformation should use this interface in the API instead.
    Author:
    markdavis
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String transform​(java.lang.String source)
      Transform the text in some way, to be determined by the subclass.
    • Method Detail

      • transform

        java.lang.String transform​(java.lang.String source)
        Transform the text in some way, to be determined by the subclass.
        Specified by:
        transform in interface Transform<java.lang.String,​java.lang.String>
        Parameters:
        source - text to be transformed (eg lowercased)
        Returns:
        result