⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jspwriter.html

📁 j2ee的API 1.4版本,j2ee的帮助文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the long to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="println(float)"><!-- --></A><H3>println</H3><PRE>public abstract void <B>println</B>(float&nbsp;x)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Print a floating-point number and then terminate the line.  This method behaves as though it invokes <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(float)"><CODE>print(float)</CODE></A></code> and then <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#println()"><CODE>println()</CODE></A></code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the float to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="println(double)"><!-- --></A><H3>println</H3><PRE>public abstract void <B>println</B>(double&nbsp;x)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Print a double-precision floating-point number and then terminate the line.  This method behaves as though it invokes <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(double)"><CODE>print(double)</CODE></A></code> and then <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#println()"><CODE>println()</CODE></A></code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the double to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="println(char[])"><!-- --></A><H3>println</H3><PRE>public abstract void <B>println</B>(char[]&nbsp;x)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Print an array of characters and then terminate the line.  This method behaves as though it invokes <code>print(char[])</code> and then <code>println()</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the char[] to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="println(java.lang.String)"><!-- --></A><H3>println</H3><PRE>public abstract void <B>println</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;x)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Print a String and then terminate the line.  This method behaves as though it invokes <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(java.lang.String)"><CODE>print(String)</CODE></A></code> and then <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#println()"><CODE>println()</CODE></A></code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the String to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="println(java.lang.Object)"><!-- --></A><H3>println</H3><PRE>public abstract void <B>println</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;x)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Print an Object and then terminate the line.  This method behaves as though it invokes <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#print(java.lang.Object)"><CODE>print(Object)</CODE></A></code> and then <code><A HREF="../../../javax/servlet/jsp/JspWriter.html#println()"><CODE>println()</CODE></A></code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the Object to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occured while writing</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public abstract void <B>clear</B>()                    throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Clear the contents of the buffer. If the buffer has been already been flushed then the clear operation shall throw an IOException to signal the fact that some data has already been irrevocably  written to the client response stream.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an I/O error occurs</DL></DD></DL><HR><A NAME="clearBuffer()"><!-- --></A><H3>clearBuffer</H3><PRE>public abstract void <B>clearBuffer</B>()                          throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Clears the current contents of the buffer. Unlike clear(), this method will not throw an IOException if the buffer has already been flushed. It merely clears the current content of the buffer and returns.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an I/O error occurs</DL></DD></DL><HR><A NAME="flush()"><!-- --></A><H3>flush</H3><PRE>public abstract void <B>flush</B>()                    throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Flush the stream.  If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination.  Then, if that destination is another character or byte stream, flush it.  Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams. <p> The method may be invoked indirectly if the buffer size is exceeded. <p> Once a stream has been closed, further write() or flush() invocations will cause an IOException to be thrown.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an I/O error occurs</DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public abstract void <B>close</B>()                    throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Close the stream, flushing it first. <p> This method needs not be invoked explicitly for the initial JspWriter as the code generated by the JSP container will automatically include a call to close(). <p> Closing a previously-closed stream, unlike flush(), has no effect.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an I/O error occurs</DL></DD></DL><HR><A NAME="getBufferSize()"><!-- --></A><H3>getBufferSize</H3><PRE>public int <B>getBufferSize</B>()</PRE><DL><DD>This method returns the size of the buffer used by the JspWriter.<P><DD><DL><DT><B>Returns:</B><DD>the size of the buffer in bytes, or 0 is unbuffered.</DL></DD></DL><HR><A NAME="getRemaining()"><!-- --></A><H3>getRemaining</H3><PRE>public abstract int <B>getRemaining</B>()</PRE><DL><DD>This method returns the number of unused bytes in the buffer.<P><DD><DL><DT><B>Returns:</B><DD>the number of bytes unused in the buffer</DL></DD></DL><HR><A NAME="isAutoFlush()"><!-- --></A><H3>isAutoFlush</H3><PRE>public boolean <B>isAutoFlush</B>()</PRE><DL><DD>This method indicates whether the JspWriter is autoFlushing.<P><DD><DL><DT><B>Returns:</B><DD>if this JspWriter is auto flushing or throwing IOExceptions      on buffer overflow conditions</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/servlet/jsp/JspFactory.html" title="class in javax.servlet.jsp"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/servlet/jsp/PageContext.html" title="class in javax.servlet.jsp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="JspWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -