net.sourceforge.plantuml.command
Class BlocLines
- java.lang.Object
-
- net.sourceforge.plantuml.command.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 Summary
Constructors Constructor and Description BlocLines()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description BlocLinesadd2(java.lang.CharSequence s)BlocLinescleanList2(MultilinesStrategy strategy)java.lang.CharSequenceget499(int i)java.lang.CharSequencegetFirst499()java.lang.CharSequencegetLast499()chargetLastChar()java.util.List<java.lang.CharSequence>getLines()static BlocLinesgetWithNewlines(java.lang.CharSequence s)java.util.Iterator<java.lang.CharSequence>iterator()BlocLinesremoveComments()Deprecated.BlocLinesremoveEmptyColumns()BlocLinesremoveInnerComments()Deprecated.BlocLinesremoveStartingAndEnding2(java.lang.String data)static BlocLinessingle(java.lang.CharSequence single)intsize()BlocLinessubExtract(int start, int end)DisplaytoDisplay()BlocLinestoSingleLineWithHiddenNewLine()java.lang.StringtoString()BlocLinestrim(boolean removeEmptyLines)BlocLinestrimSmart(int referenceLine)
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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()
-
cleanList2
public BlocLines cleanList2(MultilinesStrategy strategy)
-
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 start, int end)
-
iterator
public java.util.Iterator<java.lang.CharSequence> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<java.lang.CharSequence>
-
removeComments
@Deprecated public BlocLines removeComments()
Deprecated.
-
removeInnerComments
@Deprecated public BlocLines removeInnerComments()
Deprecated.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG