Home | History | Annotate | Download | only in text
      1 /* GENERATED SOURCE. DO NOT MODIFY. */
      2 //  2016 and later: Unicode, Inc. and others.
      3 // License & terms of use: http://www.unicode.org/copyright.html#License
      4 /*
      5  *******************************************************************************
      6  * Copyright (C) 1996-2009, Google, International Business Machines Corporation and    *
      7  * others. All Rights Reserved.                                                *
      8  *******************************************************************************
      9  */
     10 package android.icu.text;
     11 
     12 /**
     13  * 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.
     14  *
     15  * @author markdavis
     16  * @hide Only a subset of ICU is exposed in Android
     17  *
     18  */
     19 public interface StringTransform extends Transform<String,String> {
     20     /**
     21      * Transform the text in some way, to be determined by the subclass.
     22      * @param source text to be transformed (eg lowercased)
     23      * @return result
     24      */
     25     @Override
     26     public String transform(String source);
     27 }