Package net.sourceforge.plantuml.utils
Class BlocLines
java.lang.Object
net.sourceforge.plantuml.utils.BlocLines
- All Implemented Interfaces:
Iterable<StringLocated>
-
Method Summary
Modifier and TypeMethodDescriptionadd
(StringLocated s) cleanList
(MultilinesStrategy strategy) static BlocLines
create()
static BlocLines
from
(List<StringLocated> lines) static BlocLines
getAt
(int i) getFirst()
getLast()
char
static BlocLines
iterator()
static BlocLines
load
(InputStream is, LineLocation location) static BlocLines
load
(SFile f, LineLocation location) overrideLastLine
(String last) removeFewChars
(int nb) removeStartingAndEnding
(String data, int removeAtEnd) static BlocLines
single
(StringLocated single) static BlocLines
singleString
(String single) int
size()
subExtract
(int margeStart, int margeEnd) subList
(int start, int end) toString()
trim()
trimSmart
(int referenceLine) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
toString
-
expandsJaws5
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
from
-
toDisplay
- Throws:
NoSuchColorException
-
single
-
singleString
-
fromArray
-
getWithNewlines
-
create
-
add
-
addString
-
getLinesAsStringForSprite
-
size
public int size() -
getAt
-
getFirst
-
getLast
-
cleanList
-
trim
-
removeEmptyLines
-
removeEmptyColumns
-
getLastChar
public char getLastChar() -
removeStartingAndEnding
-
overrideLastLine
-
toSingleLineWithHiddenNewLine
-
trimSmart
-
subExtract
-
subList
-
iterator
- Specified by:
iterator
in interfaceIterable<StringLocated>
-
eventuallyMoveBracket
-
eventuallyMoveAllEmptyBracket
-
removeFewChars
-
inspector
-
inspectorWithNewlines
-