public class DefaultNTextBuilder extends AbstractNText implements NTextBuilder
| Constructor and Description |
|---|
DefaultNTextBuilder() |
concat, concat, isNewLine, isNormalized, isPrimitive, isString, normalize, normalize, normalize, repeat, repeatln, split, split, split, toCharArray, toCharListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofconcat, concat, isNewLine, isNormalized, isPrimitive, isString, normalize, normalize, normalize, of, of, of, ofAnchor, ofAnchor, ofBlank, ofCode, ofCode, ofCodeOrCommand, ofCodeOrCommand, ofCodeOrCommand, ofCommand, ofInclude, ofInclude, ofLink, ofLink, ofList, ofList, ofNewLine, ofNumbering, ofNumbering, ofPlain, ofSpace, ofSpaces, ofStyled, ofStyled, ofStyled, ofStyled, ofStyled, ofStyled, ofStyledError, ofStyledPath, ofStyledPrimary1, ofStyledPrimary2, ofStyledPrimary3, ofStyledPrimary4, ofStyledPrimary5, ofStyledPrimary6, ofStyledPrimary7, ofStyledPrimary8, ofStyledPrimary9, ofStyledSuccess, ofStyledWarn, ofTitle, ofTitle, repeat, repeatln, split, split, split, toCharArray, toCharListfirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankforEach, spliteratorpublic NTextStyleGenerator getStyleGenerator()
getStyleGenerator in interface NTextBuilderpublic String toString()
toString in interface NTexttoString in interface NTextBuildertoString in class AbstractNTextpublic DefaultNTextBuilder setStyleGenerator(NTextStyleGenerator styleGenerator)
setStyleGenerator in interface NTextBuilderpublic NTextBuilder appendCommand(NTerminalCmd command)
appendCommand in interface NTextBuilderpublic NTextBuilder appendCode(String lang, String text)
appendCode in interface NTextBuilderpublic NTextBuilder appendHashStyle(Object text)
appendHashStyle in interface NTextBuilderpublic NTextBuilder appendRandomStyle(Object text)
appendRandomStyle in interface NTextBuilderpublic NTextBuilder appendHashStyle(Object text, Object hash)
appendHashStyle in interface NTextBuilderpublic NTextBuilder append(Object text, NTextStyle style)
append in interface NTextBuilderpublic NTextBuilder append(Object text, NTextStyles styles)
append in interface NTextBuilderpublic NTextBuilder append(Object node)
append in interface NTextBuilderpublic NTextBuilder append(NText node)
append in interface NTextBuilderpublic NTextBuilder delete(int start, int end)
delete in interface NTextBuilderpublic NTextBuilder appendJoined(Object separator, Collection<?> others)
appendJoined in interface NTextBuilderpublic NTextBuilder appendAll(NText[] others)
appendAll in interface NTextBuilderpublic NTextBuilder appendAll(Collection<?> others)
appendAll in interface NTextBuilderpublic NText build()
build in interface NTextBuilderpublic List<NText> getChildren()
getChildren in interface NTextBuilderpublic NTextBuilder insert(int at, NText... items)
insert in interface NTextBuilderpublic NTextBuilder replace(int from, int to, NText... newTexts)
replace in interface NTextBuilderpublic int size()
size in interface NTextBuilderpublic NText get(int index)
get in interface NTextBuilderpublic NTextBuilder flatten()
flatten in interface NTextBuilderpublic NTextBuilder removeAt(int index)
removeAt in interface NTextBuilderpublic NStream<NTextBuilder> lines()
lines in interface NTextBuilderpublic NTextBuilder newLine()
newLine in interface NTextBuilderpublic NTextBuilder readLine()
readLine in interface NTextBuilderpublic NTextBuilder clear()
clear in interface NTextBuilderpublic NTextBuilder copy()
public String filteredText()
filteredText in interface NTextfilteredText in class AbstractNTextpublic int length()
length in interface NTextlength in class AbstractNTextpublic boolean isEmpty()
isEmpty in interface NTextisEmpty in class AbstractNTextpublic NTextBuilder builder()
builder in interface NTextbuilder in class AbstractNTextpublic boolean isBlank()
isBlank in interface NBlankableisBlank in class AbstractNTextpublic NStream<NPrimitiveText> toCharStream()
toCharStream in interface NTextpublic boolean isWhitespace()
isWhitespace in interface NTextpublic NTextBuilder trimLeft()
trimLeft in interface NTexttrimLeft in interface NTextBuilderpublic NTextBuilder trimRight()
trimRight in interface NTexttrimRight in interface NTextBuilderpublic NTextBuilder trim()
trim in interface NTexttrim in interface NTextBuilderCopyright © 2025 vpc open source initiative. All rights reserved.