类 Output
java.lang.Object
com.palantir.javaformat.InputOutput
com.palantir.javaformat.Output
- 直接已知子类:
JavaOutput
An output from the formatter.
-
字段概要
从类继承的字段 com.palantir.javaformat.InputOutput
EMPTY_RANGE, ranges -
构造器概要
构造器 -
方法概要
从类继承的方法 com.palantir.javaformat.InputOutput
computeRanges, getLine, getLineCount, getRanges, makeKToIJ, setLines
-
构造器详细资料
-
Output
public Output()
-
-
方法详细资料
-
indent
public abstract void indent(int indent) Indent by outputtingindentspaces.- 参数:
indent- the current indent
-
append
public abstract void append(State state, String text, com.google.common.collect.Range<Integer> range) Output a string.- 参数:
state- the current statetext- the stringrange- theRangecorresponding to the string
-
toString
- 覆盖:
toString在类中InputOutput
-