Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(java.lang.String toString)
      Apply substitutions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceCodeSubstitutions

        public SourceCodeSubstitutions()
        Create a substitution set.
    • Method Detail

      • apply

        public final java.lang.String apply​(java.lang.String toString)
        Apply substitutions.
        Specified by:
        apply in interface TextSubstitutions
        Parameters:
        toString - original string
        Returns:
        original after applying substitutions.