public abstract class AbstractTextOutput extends Object implements TextOutput
Modifier | Constructor and Description |
---|---|
protected |
AbstractTextOutput(boolean compact) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLine() |
int |
getPosition() |
void |
indentIn() |
void |
indentOut() |
void |
newline() |
void |
newlineOpt() |
void |
print(char c) |
void |
print(char[] s) |
void |
print(String s) |
void |
printOpt(char c) |
void |
printOpt(char[] s) |
void |
printOpt(String s) |
protected void |
setPrintWriter(PrintWriter out) |
public int getColumn()
getColumn
in interface TextOutput
public int getLine()
getLine
in interface TextOutput
public int getPosition()
getPosition
in interface TextOutput
public void indentIn()
indentIn
in interface TextOutput
public void indentOut()
indentOut
in interface TextOutput
public void newline()
newline
in interface TextOutput
public void newlineOpt()
newlineOpt
in interface TextOutput
public void print(char c)
print
in interface TextOutput
public void print(char[] s)
print
in interface TextOutput
public void print(String s)
print
in interface TextOutput
public void printOpt(char c)
printOpt
in interface TextOutput
public void printOpt(char[] s)
printOpt
in interface TextOutput
public void printOpt(String s)
printOpt
in interface TextOutput
protected void setPrintWriter(PrintWriter out)
Copyright © 2018. All rights reserved.