public class JspWriterStringImpl
extends javax.servlet.jsp.JspWriter
JspWriter that writes to an underlying String instead of JSP.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_AUTO_FLUSH |
static int |
DEFAULT_BUFFER_SIZE |
| Constructor and Description |
|---|
JspWriterStringImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearBuffer() |
void |
close() |
void |
flush() |
int |
getRemaining() |
void |
newLine() |
void |
print(boolean b) |
void |
print(char c) |
void |
print(char[] s) |
void |
print(double d) |
void |
print(float f) |
void |
print(int i) |
void |
print(long l) |
void |
print(Object o) |
void |
print(String s) |
void |
println() |
void |
println(boolean b) |
void |
println(char c) |
void |
println(char[] s) |
void |
println(double d) |
void |
println(float f) |
void |
println(int i) |
void |
println(long l) |
void |
println(Object o) |
void |
println(String s) |
String |
toString() |
void |
write(char[] cbuf,
int off,
int len) |
public static final boolean DEFAULT_AUTO_FLUSH
public static final int DEFAULT_BUFFER_SIZE
public void clear()
throws IOException
clear in class javax.servlet.jsp.JspWriterIOExceptionpublic void clearBuffer()
throws IOException
clearBuffer in class javax.servlet.jsp.JspWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class javax.servlet.jsp.JspWriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class javax.servlet.jsp.JspWriterIOExceptionpublic int getRemaining()
getRemaining in class javax.servlet.jsp.JspWriterpublic void newLine()
throws IOException
newLine in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(boolean b)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char c)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(int i)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(long l)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(float f)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(double d)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char[] s)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(String s) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(Object o) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void println()
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(boolean b)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char c)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(int i)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(long l)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(float f)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(double d)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char[] s)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(String s) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(Object o) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.