com.notuvy.util
Class ReplaceableString

java.lang.Object
  extended by 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


Constructor Summary
ReplaceableString(String pInitial)
           
 
Method Summary
 void all(String token, Object object)
           
 void first(String token, Object object)
           
 String getResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceableString

public ReplaceableString(String pInitial)
Method Detail

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.