Class VersesPreparation

java.lang.Object
com.betterdiff.core.preparation.Preparation
com.betterdiff.lyrics.preparation.VersesPreparation
All Implemented Interfaces:
com.betterdiff.core.preparation.PreparationPhase

public class VersesPreparation
extends com.betterdiff.core.preparation.Preparation
Inserted text is split into verses. A verse is considered a non-empty string followed by two new lines or oef mark. Leading or trailing white spaces, including new lines are considered part of the verse and therefore included in the chunk.
Author:
troomar
  • Constructor Summary

    Constructors
    Constructor Description
    VersesPreparation​(com.betterdiff.core.Callback callback)  
  • Method Summary

    Modifier and Type Method Description
    void processText​(String text, int ordinalNumber)  

    Methods inherited from class com.betterdiff.core.preparation.Preparation

    addText, getChunks, getChunkText, getNextChunkId, getProtocol, process, processIndependently, processSimultaneously

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VersesPreparation

      public VersesPreparation​(com.betterdiff.core.Callback callback)
  • Method Details

    • processText

      public void processText​(String text, int ordinalNumber)