Interface StringTransform

All Superinterfaces:
Transform<String,String>
All Known Implementing Classes:
RuleBasedTransliterator, Transliterator

public interface StringTransform extends Transform<String,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

    Modifier and Type
    Method
    Description
    transform(String source)
    Transform the text in some way, to be determined by the subclass.
  • Method Details

    • transform

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