public class GSPWriter extends PrintWriter
A PrintWriter used in the generation of GSP pages that allows printing to the target output stream and maintains a record of the current line number during usage.
Constructor and description |
---|
GSPWriter(Writer out, GroovyPageParser parse) |
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
getCurrentLineNumber() |
|
public int[] |
getLineNumbers() |
|
public void |
println() |
|
public void |
printlnToBuffer(String s, int index) |
|
public void |
printlnToResponse(String s) |
|
public void |
printlnToResponse(String outVarName, String s) |
|
public void |
write(char[] buf, int off, int len) |
Methods inherited from class | Name |
---|---|
class PrintWriter |
append, append, append, append, append, append, append, append, append, checkError, close, equals, flush, format, format, getClass, hashCode, notify, notifyAll, nullWriter, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, toString, wait, wait, wait, write, write, write, write, write |