📄 servletoutputstream.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="print(java.lang.String)"><!-- --></A><H3>print</H3><PRE>public void <B>print</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> s) 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>Writes a <code>String</code> to the client, without a carriage return-line feed (CRLF) character at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(boolean)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(boolean 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>Writes a <code>boolean</code> value to the client, with no carriage return-line feed (CRLF) character at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>b</CODE> - the <code>boolean</code> value to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(char)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(char c) 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>Writes a character to the client, with no carriage return-line feed (CRLF) at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the character to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(int i) 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>Writes an int to the client, with no carriage return-line feed (CRLF) at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the int to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(long)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(long l) 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>Writes a <code>long</code> value to the client, with no carriage return-line feed (CRLF) at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the <code>long</code> value to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(float)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(float f) 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>Writes a <code>float</code> value to the client, with no carriage return-line feed (CRLF) at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - the <code>float</code> value to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="print(double)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(double d) 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>Writes a <code>double</code> value to the client, with no carriage return-line feed (CRLF) at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the <code>double</code> value to send to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println()"><!-- --></A><H3>println</H3><PRE>public void <B>println</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>Writes a carriage return-line feed (CRLF) to the client.<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(java.lang.String)"><!-- --></A><H3>println</H3><PRE>public 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> s) 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>Writes a <code>String</code> to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the </code>String</code> to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(boolean)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(boolean 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>Writes a <code>boolean</code> value to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>b</CODE> - the <code>boolean</code> value to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(char)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(char c) 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>Writes a character to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the character to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(int i) 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>Writes an int to the client, followed by a carriage return-line feed (CRLF) character.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the int to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(long)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(long l) 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>Writes a <code>long</code> value to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the <code>long</code> value to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(float)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(float f) 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>Writes a <code>float</code> value to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - the <code>float</code> value to write to the client<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 input or output exception occurred</DL></DD></DL><HR><A NAME="println(double)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(double d) 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>Writes a <code>double</code> value to the client, followed by a carriage return-line feed (CRLF).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the <code>double</code> value to write to the client<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 input or output exception occurred</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../javax/servlet/ServletInputStream.html" title="class in javax.servlet"><B>PREV CLASS</B></A> <A HREF="../../javax/servlet/ServletRequestAttributeEvent.html" title="class in javax.servlet"><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> <A HREF="ServletOutputStream.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -