Class LinesPreparation

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

public class LinesPreparation
extends com.betterdiff.core.preparation.Preparation
Inserted text is split into lines. Every chunk therefore represents a full line. New lines are not included in chunks, but leading or trailing spaces are. Why are not new lines included in the chunks? This is due to the fact that *IF* there is a new (empty) line then it's an error in the verses preparation phase, since empty lines divide verses itself.
Author:
troomar
  • Constructor Summary

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

    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

    • LinesPreparation

      public LinesPreparation​(com.betterdiff.core.Callback callback)