public class BlockContent extends Object
| Constructor and Description |
|---|
BlockContent() |
BlockContent(@NotNull BlockContent other,
int startLine,
int lineIndent) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence lineWithEOL,
int lineIndent) |
void |
addAll(@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lines,
List<Integer> lineIndents) |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getContents() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getContents(int startLine,
int endLine) |
int |
getEndOffset() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getLine(int line) |
int |
getLineCount() |
int |
getLineIndent() |
@NotNull List<Integer> |
getLineIndents() |
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> |
getLines() |
int |
getSourceLength() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getSpanningChars() |
int |
getStartOffset() |
@NotNull String |
getString() |
boolean |
hasSingleLine() |
@NotNull BlockContent |
subContents(int startLine,
int endLine) |
public BlockContent()
public BlockContent(@NotNull
@NotNull BlockContent other,
int startLine,
int lineIndent)
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getLine(int line)
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getSpanningChars()
@NotNull public @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> getLines()
public int getLineCount()
public int getStartOffset()
public int getEndOffset()
public int getLineIndent()
public int getSourceLength()
public void add(@NotNull
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence lineWithEOL,
int lineIndent)
public void addAll(@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lines,
List<Integer> lineIndents)
public boolean hasSingleLine()
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents()
@NotNull public @NotNull BlockContent subContents(int startLine, int endLine)
@NotNull
public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents(int startLine,
int endLine)
@NotNull public @NotNull String getString()
Copyright © 2020. All rights reserved.