Package edu.odu.cs.cowem.documents
Class SourceCodeSubstitutions
- java.lang.Object
-
- edu.odu.cs.cowem.documents.SourceCodeSubstitutions
-
- All Implemented Interfaces:
TextSubstitutions
public class SourceCodeSubstitutions extends java.lang.Object implements TextSubstitutions
A collection of text substitutions, used primarily for mark up of source code with highlighting and callouts.
-
-
Constructor Summary
Constructors Constructor Description SourceCodeSubstitutions()Create a substitution set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringapply(java.lang.String toString)Apply substitutions.
-
-
-
Method Detail
-
apply
public final java.lang.String apply(java.lang.String toString)
Apply substitutions.- Specified by:
applyin interfaceTextSubstitutions- Parameters:
toString- original string- Returns:
- original after applying substitutions.
-
-