Class DirectReplacementStrategy
- java.lang.Object
-
- org.onebusaway.presentation.impl.text.DirectReplacementStrategy
-
- All Implemented Interfaces:
TextModification
public class DirectReplacementStrategy extends Object implements TextModification
-
-
Constructor Summary
Constructors Constructor Description DirectReplacementStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
modify(String input)
void
setReplacements(Map<String,String> replacements)
void
setReplacementsFromFile(File file)
-
-
-
Method Detail
-
setReplacementsFromFile
public void setReplacementsFromFile(File file) throws IOException
- Throws:
IOException
-
modify
public String modify(String input)
- Specified by:
modify
in interfaceTextModification
-
-