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