Class TextOptions

  • All Implemented Interfaces:
    java.io.Serializable

    public class TextOptions
    extends java.lang.Object
    implements java.io.Serializable
    Options for Text filter. Serializable to allow saving to / reading from configuration file.

    Text filter would have the following options ([+] means default on). Segment text into paragraphs on:

    • [] Line breaks
    • [+] Empty lines (double line break)
    • [] Never
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int SEGMENT_BREAKS
      Text filter should segmentOn text into paragraphs on line breaks.
      static int SEGMENT_EMPTYLINES
      Defult.
      static int SEGMENT_NEVER
      Text filter should not segmentOn text into paragraphs.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextOptions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getSegmentOn()
      Returns when Text filter should segmentOn text into paragraphs.
      void setSegmentOn​(int segmentOn)
      Sets when Text filter should segmentOn text into paragraphs.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SEGMENT_BREAKS

        public static final int SEGMENT_BREAKS
        Text filter should segmentOn text into paragraphs on line breaks.
        See Also:
        Constant Field Values
      • SEGMENT_EMPTYLINES

        public static final int SEGMENT_EMPTYLINES
        Defult. Text filter should segmentOn text into paragraphs on empty lines.
        See Also:
        Constant Field Values
      • SEGMENT_NEVER

        public static final int SEGMENT_NEVER
        Text filter should not segmentOn text into paragraphs.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TextOptions

        public TextOptions()