public class ServletWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SPACES |
static int |
TAB_WIDTH |
Constructor and Description |
---|
ServletWriter(java.io.PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getJavaLine() |
void |
popIndent() |
void |
print(char c)
Prints the given char.
|
void |
print(int i)
Prints the given int.
|
void |
print(java.lang.String s)
Prints the given string.
|
void |
printil(java.lang.String s)
Prints the current indention, and then the string, and a '\n'.
|
void |
printin()
Prints the current indention
|
void |
printin(java.lang.String s)
Prints the current indention, followed by the given string
|
void |
println()
Prints a '\n'
|
void |
println(java.lang.String s)
Prints the given string followed by '\n'
|
void |
printMultiLn(java.lang.String s)
Prints the given string.
|
void |
pushIndent() |
public static final int TAB_WIDTH
public static final java.lang.String SPACES
public void close()
public int getJavaLine()
public void pushIndent()
public void popIndent()
public void println(java.lang.String s)
public void println()
public void printin()
public void printin(java.lang.String s)
public void printil(java.lang.String s)
public void print(char c)
public void print(int i)
public void print(java.lang.String s)
public void printMultiLn(java.lang.String s)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.