class ContentReplacer {

    public String applyPatterns(List<ReplacingPattern> patterns, String text) {
        String textCopy = new String(text);
        for (ReplacingPattern replacingPattern : patterns) {
            textCopy = applyPattern(replacingPattern, textCopy);
        }
        return textCopy;
    }

    public  ContentReplacer(boolean debug);

}