public static final class PrettyPrintWriter.Line extends Object
Constructor and Description |
---|
Line() |
Modifier and Type | Method and Description |
---|---|
void |
append(PrettyPrintWriter.Span span) |
int |
countCharacter(char ch) |
int |
firstNonWhiteSpace(int start) |
int |
indexOf(char ch,
int start) |
boolean |
isEmpty() |
int |
length() |
void |
spaceOut(int width,
int start) |
void |
toString(StringBuilder builder) |
void |
trimTo(int width,
PrettyPrintWriter.Span appendToLongLine) |
public void append(PrettyPrintWriter.Span span)
public boolean isEmpty()
public int length()
public int indexOf(char ch, int start)
public void spaceOut(int width, int start)
public int firstNonWhiteSpace(int start)
public int countCharacter(char ch)
public void trimTo(int width, PrettyPrintWriter.Span appendToLongLine)
public void toString(StringBuilder builder)
Copyright © 2015. All rights reserved.