Class ReplacementFormatUtil

java.lang.Object
org.jfugue.pattern.ReplacementFormatUtil

public class ReplacementFormatUtil extends Object
This utility takes replacement strings with dollar signs, like "$0q $1h $2w", and replaces each $ index with a value from the array of candidates. $_ is replaced with the underscoreReplacement. Returns the resulting Pattern. Special replacements, like $R or $-B, can be specified in the specialReplacement map. Current known users include ChordProgression, Intervals, and BrokenChordPreprocessor.