org.onebusaway.presentation.impl.text
Class ReplacementTextModification

java.lang.Object
  extended by org.onebusaway.presentation.impl.text.ReplacementTextModification
All Implemented Interfaces:
TextModification

public class ReplacementTextModification
extends Object
implements TextModification


Constructor Summary
ReplacementTextModification()
           
 
Method Summary
 String modify(String input)
           
 void setAtWordBoundary(boolean atWordBoundary)
           
 void setCaseSensitive(boolean caseSensitive)
           
 void setFrom(String from)
           
 void setTo(String to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplacementTextModification

public ReplacementTextModification()
Method Detail

setFrom

public void setFrom(String from)

setTo

public void setTo(String to)

setAtWordBoundary

public void setAtWordBoundary(boolean atWordBoundary)

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)

modify

public String modify(String input)
Specified by:
modify in interface TextModification


Copyright © 2011 OneBusAway. All Rights Reserved.