]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_4_2-src/main/classes/core/src/com/ibm/icu/text/Transform.java
go
[Dictionary.git] / jars / icu4j-4_4_2-src / main / classes / core / src / com / ibm / icu / text / Transform.java
1 /*\r
2  ********************************************************************************\r
3  * Copyright (C) 2009-2010, Google, International Business Machines Corporation *\r
4  * and others. All Rights Reserved.                                             *\r
5  ********************************************************************************\r
6  */\r
7 package com.ibm.icu.text;\r
8 \r
9 /**\r
10  * Provide an interface for Transforms that focuses just on the transformation of the text.\r
11  * APIs that take Transliterator or StringTransform, but only depend on the transformation should use this interface in the API instead.\r
12  *\r
13  * @author markdavis\r
14  * @draft ICU 4.4\r
15  * @provisional This API might change or be removed in a future release.\r
16  *\r
17  */\r
18 \r
19 public interface Transform<S,D> {\r
20     /**\r
21      * Transform the input in some way, to be determined by the subclass.\r
22      * @param source to be transformed (eg lowercased)\r
23      * @return result\r
24      * @draft ICU 4.4\r
25      * @provisional This API might change or be removed in a future release.\r
26      */\r
27     public D transform(S source);\r
28 }\r