com.ibm.icu.text.Transform Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icu4j Show documentation
Show all versions of icu4j Show documentation
International Component for Unicode for Java (ICU4J) is a mature, widely used Java library
providing Unicode and Globalization support
The newest version!
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
********************************************************************************
* Copyright (C) 2009-2010, Google, International Business Machines Corporation *
* and others. All Rights Reserved. *
********************************************************************************
*/
package com.ibm.icu.text;
/**
* Provide an interface for Transforms that focuses just on the transformation of the text.
* APIs that take Transliterator or StringTransform, but only depend on the transformation should use this interface in the API instead.
*
* @author markdavis
* @stable ICU 4.4
*/
public interface Transform {
/**
* Transform the input in some way, to be determined by the subclass.
* @param source to be transformed (eg lowercased)
* @return result
* @stable ICU 4.4
*/
public D transform(S source);
}