public class SourceCodeFormatter extends Object implements Appendable, CharSequence
| Constructor and Description |
|---|
SourceCodeFormatter(int indentSpaces) |
SourceCodeFormatter(int indentSpaces,
AtomicInteger indent) |
SourceCodeFormatter(int indentSpaces,
int i) |
| Modifier and Type | Method and Description |
|---|---|
SourceCodeFormatter |
append(boolean flag) |
SourceCodeFormatter |
append(char c) |
SourceCodeFormatter |
append(CharSequence csq) |
SourceCodeFormatter |
append(CharSequence csq,
int start,
int end) |
SourceCodeFormatter |
append(double d) |
SourceCodeFormatter |
append(long i) |
<Stringable> |
append(Stringable stringable) |
char |
charAt(int index) |
boolean |
contains(String text) |
int |
length() |
void |
setLength(int len) |
CharSequence |
subSequence(int start,
int end) |
@NotNull String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePointspublic SourceCodeFormatter(int indentSpaces,
AtomicInteger indent)
public SourceCodeFormatter(int indentSpaces)
public SourceCodeFormatter(int indentSpaces,
int i)
@NotNull public @NotNull String toString()
toString in interface CharSequencetoString in class Objectpublic SourceCodeFormatter append(CharSequence csq)
append in interface Appendablepublic SourceCodeFormatter append(CharSequence csq, int start, int end)
append in interface Appendablepublic SourceCodeFormatter append(char c)
append in interface Appendablepublic void setLength(int len)
public int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic SourceCodeFormatter append(long i)
public SourceCodeFormatter append(double d)
public SourceCodeFormatter append(boolean flag)
public <Stringable> SourceCodeFormatter append(Stringable stringable)
public boolean contains(String text)
Copyright © 2023. All rights reserved.