Class BlocLines

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.CharSequence>

    public class BlocLines
    extends java.lang.Object
    implements java.lang.Iterable<java.lang.CharSequence>
    • Constructor Detail

      • BlocLines

        public BlocLines()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • load

        public static BlocLines load​(java.io.File f)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • toDisplay

        public Display toDisplay()
      • single

        public static BlocLines single​(java.lang.CharSequence single)
      • getWithNewlines

        public static BlocLines getWithNewlines​(java.lang.CharSequence s)
      • add2

        public BlocLines add2​(java.lang.CharSequence s)
      • getLines

        public java.util.List<java.lang.CharSequence> getLines()
      • size

        public int size()
      • get499

        public java.lang.CharSequence get499​(int i)
      • getFirst499

        public java.lang.CharSequence getFirst499()
      • getLast499

        public java.lang.CharSequence getLast499()
      • trim

        public BlocLines trim​(boolean removeEmptyLines)
      • removeEmptyColumns

        public BlocLines removeEmptyColumns()
      • getLastChar

        public char getLastChar()
      • removeStartingAndEnding2

        public BlocLines removeStartingAndEnding2​(java.lang.String data)
      • toSingleLineWithHiddenNewLine

        public BlocLines toSingleLineWithHiddenNewLine()
      • trimSmart

        public BlocLines trimSmart​(int referenceLine)
      • subExtract

        public BlocLines subExtract​(int margeStart,
                                    int margeEnd)
      • subList

        public BlocLines subList​(int start,
                                 int end)
      • iterator

        public java.util.Iterator<java.lang.CharSequence> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.CharSequence>
      • eventuallyMoveBracket

        public BlocLines eventuallyMoveBracket()