blob: 5666e94103fd5f3c3cc30d8cd4c62e44df37f56c [file] [log] [blame]
/*
*******************************************************************************
* Copyright (C) 1996-2007, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package com.ibm.icu.text;
/**
* 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
*
*/
public interface StringTransform {
/**
* Transform the text in some way, to be determined by the subclass.
* @param source text to be transformed (eg lowercased)
* @return result
*/
public String transform(String source);
}