jspwriter.html
来自「SUN公司官方J2EE中文帮助文档 应该不错 有兴趣的下来看看 html格式的」· HTML 代码 · 共 984 行 · 第 1/3 页
HTML
984 行
<BR>
Print a floating-point number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(int)">print</A></B>(int i)</CODE>
<BR>
Print an integer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(long)">print</A></B>(long l)</CODE>
<BR>
Print a long integer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(java.lang.Object)">print</A></B>(java.lang.Object obj)</CODE>
<BR>
Print an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(java.lang.String)">print</A></B>(java.lang.String s)</CODE>
<BR>
Print a string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println()">println</A></B>()</CODE>
<BR>
Terminate the current line by writing the line separator string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(boolean)">println</A></B>(boolean x)</CODE>
<BR>
Print a boolean value and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(char)">println</A></B>(char x)</CODE>
<BR>
Print a character and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(char[])">println</A></B>(char[] x)</CODE>
<BR>
Print an array of characters and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(double)">println</A></B>(double x)</CODE>
<BR>
Print a double-precision floating-point number and then terminate the
line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(float)">println</A></B>(float x)</CODE>
<BR>
Print a floating-point number and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(int)">println</A></B>(int x)</CODE>
<BR>
Print an integer and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(long)">println</A></B>(long x)</CODE>
<BR>
Print a long integer and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(java.lang.Object)">println</A></B>(java.lang.Object x)</CODE>
<BR>
Print an Object and then terminate the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/servlet/jsp/JspWriter.html#println(java.lang.String)">println</A></B>(java.lang.String x)</CODE>
<BR>
Print a String and then terminate the line.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.io.Writer"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.io.Writer</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>write, write, write, write, write</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="NO_BUFFER"><!-- --></A><H3>
NO_BUFFER</H3>
<PRE>
public static final int <B>NO_BUFFER</B></PRE>
<DL>
<DD>constant indicating that the Writer is not buffering output</DL>
<HR>
<A NAME="DEFAULT_BUFFER"><!-- --></A><H3>
DEFAULT_BUFFER</H3>
<PRE>
public static final int <B>DEFAULT_BUFFER</B></PRE>
<DL>
<DD>constant indicating that the Writer is buffered and is using the implementation default buffer size</DL>
<HR>
<A NAME="UNBOUNDED_BUFFER"><!-- --></A><H3>
UNBOUNDED_BUFFER</H3>
<PRE>
public static final int <B>UNBOUNDED_BUFFER</B></PRE>
<DL>
<DD>constant indicating that the Writer is buffered and is unbounded; this is used in BodyContent</DL>
<HR>
<A NAME="bufferSize"><!-- --></A><H3>
bufferSize</H3>
<PRE>
protected int <B>bufferSize</B></PRE>
<DL>
</DL>
<HR>
<A NAME="autoFlush"><!-- --></A><H3>
autoFlush</H3>
<PRE>
protected boolean <B>autoFlush</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="JspWriter(int, boolean)"><!-- --></A><H3>
JspWriter</H3>
<PRE>
protected <B>JspWriter</B>(int bufferSize,
boolean autoFlush)</PRE>
<DL>
<DD>protected constructor.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="newLine()"><!-- --></A><H3>
newLine</H3>
<PRE>
public abstract void <B>newLine</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Write a line separator. The line separator string is defined by the
system property <tt>line.separator</tt>, and is not necessarily a single
newline ('\n') character.<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If an I/O error occurs</DL>
</DD>
</DL>
<HR>
<A NAME="print(boolean)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(boolean b)
throws java.io.IOException</PRE>
<DL>
<DD>Print a boolean value. The string produced by <code><CODE>String.valueOf(boolean)</CODE></code> is translated into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code> method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - The <code>boolean</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="print(char)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(char c)
throws java.io.IOException</PRE>
<DL>
<DD>Print a character. The character is translated into one or more bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code> method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - The <code>char</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="print(int)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(int i)
throws java.io.IOException</PRE>
<DL>
<DD>Print an integer. The string produced by <code><CODE>String.valueOf(int)</CODE></code> is translated into bytes according
to the platform's default character encoding, and these bytes are
written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code>
method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The <code>int</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - <DT><B>See Also: </B><DD><CODE>java.lang.Integer#toString(int)</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="print(long)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(long l)
throws java.io.IOException</PRE>
<DL>
<DD>Print a long integer. The string produced by <code><CODE>String.valueOf(long)</CODE></code> is translated into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code>
method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - The <code>long</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - <DT><B>See Also: </B><DD><CODE>java.lang.Long#toString(long)</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="print(float)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(float f)
throws java.io.IOException</PRE>
<DL>
<DD>Print a floating-point number. The string produced by <code><CODE>String.valueOf(float)</CODE></code> is translated into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code>
method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>f</CODE> - The <code>float</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - <DT><B>See Also: </B><DD><CODE>java.lang.Float#toString(float)</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="print(double)"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(double d)
throws java.io.IOException</PRE>
<DL>
<DD>Print a double-precision floating-point number. The string produced by
<code><CODE>String.valueOf(double)</CODE></code> is translated into
bytes according to the platform's default character encoding, and these
bytes are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code> method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - The <code>double</code> to be printed<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - <DT><B>See Also: </B><DD><CODE>java.lang.Double#toString(double)</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="print(char[])"><!-- --></A><H3>
print</H3>
<PRE>
public abstract void <B>print</B>(char[] s)
throws java.io.IOException</PRE>
<DL>
<DD>Print an array of characters. The characters are converted into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the <code><CODE>Writer.write(int)</CODE></code>
method.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - The array of chars to be printed<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If <code>s</code> is <code>null</code><DD><CODE>java.io.IOException</CODE> - </DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?