com.notuvy.util
Class ReplaceableString
java.lang.Object
com.notuvy.util.ReplaceableString
public class ReplaceableString
- extends Object
Note: This class is legacy logic here to support old code. It probably should be deprecated.
This class represents a template string with replaceable tokens. If it contains a substring
like "abc [TOKEN] def", a substitution can be performed by calling first("TOKEN", "ghi") and
convert it to "abc ghi def".
User: murali
Date: Apr 15, 2010
Time: 10:05:36 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplaceableString
public ReplaceableString(String pInitial)
getResult
public String getResult()
first
public void first(String token,
Object object)
all
public void all(String token,
Object object)
Copyright © 2013. All Rights Reserved.