亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jspwriter.java

?? 使用java語言編寫的小應用程序
?? JAVA
字號:
/*
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:  
 *       "This product includes software developed by the 
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 *
 */ 
 
package javax.servlet.jsp;

import java.io.IOException;

/**
 * <p>
 * This abstract class emulates some of the functionality found in the
 * java.io.BufferedWriter and java.io.PrintWriter classes,
 * however it differs in that it throws java.io.IOException from the print
 * methods with PrintWriter does not.
 * </p>
 * <p>
 * The "out" implicit variable of a JSP implementation class is of this type.
 * If the page directive selects autoflush="true" then all the I/O operations
 * on this class shall automatically fluch the contents of the buffer if an
 * overflow condition would result if the current operation were performed
 * without a flush. If autoflush="false" then all the I/O operations on this
 * class shall throw an IOException if performing the current opertion would
 * result in a buffer overflow condition.
 * </p>
 *
 * @see java.io.Writer
 * @see java.io.BufferedWriter
 * @see java.io.PrintWriter
 */

abstract public class JspWriter extends java.io.Writer {

    /**
     * constant indicating that the Writer is not buffering output
     */

    public static final int	NO_BUFFER = 0;

    /**
     * constant indicating that the Writer is buffered and is using the implementation default buffer size
     */

    public static final int	DEFAULT_BUFFER = -1;

    /**
     * constant indicating that the Writer is buffered and is unbounded; this is used in BodyContent
     */

    public static final int	UNBOUNDED_BUFFER = -2;

    /**
     * protected constructor.
     */

    protected JspWriter(int bufferSize, boolean autoFlush) {
	this.bufferSize = bufferSize;
	this.autoFlush  = autoFlush;
    }

    /**
     * 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.
     *
     * @exception  IOException  If an I/O error occurs
     */

    abstract public void newLine() throws IOException;

    /**
     * Print a boolean value.  The string produced by <code>{@link
     * java.lang.String#valueOf(boolean)}</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>{@link
     * #write(int)}</code> method.
     *
     * @param      b   The <code>boolean</code> to be printed
     * @throws	   java.io.IOException
     */

    abstract public void print(boolean b) throws IOException;

    /**
     * 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>{@link
     * #write(int)}</code> method.
     *
     * @param      c   The <code>char</code> to be printed
     * @throws	   java.io.IOException
     */

    abstract public void print(char c) throws IOException;

    /**
     * Print an integer.  The string produced by <code>{@link
     * java.lang.String#valueOf(int)}</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>{@link #write(int)}</code>
     * method.
     *
     * @param      i   The <code>int</code> to be printed
     * @see        java.lang.Integer#toString(int)
     * @throws	   java.io.IOException
     */

    abstract public void print(int i) throws IOException;

    /**
     * Print a long integer.  The string produced by <code>{@link
     * java.lang.String#valueOf(long)}</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>{@link #write(int)}</code>
     * method.
     *
     * @param      l   The <code>long</code> to be printed
     * @see        java.lang.Long#toString(long)
     * @throws	   java.io.IOException
     */

    abstract public void print(long l) throws IOException;

    /**
     * Print a floating-point number.  The string produced by <code>{@link
     * java.lang.String#valueOf(float)}</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>{@link #write(int)}</code>
     * method.
     *
     * @param      f   The <code>float</code> to be printed
     * @see        java.lang.Float#toString(float)
     * @throws	   java.io.IOException
     */

    abstract public void print(float f) throws IOException;

    /**
     * Print a double-precision floating-point number.  The string produced by
     * <code>{@link java.lang.String#valueOf(double)}</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>{@link
     * #write(int)}</code> method.
     *
     * @param      d   The <code>double</code> to be printed
     * @see        java.lang.Double#toString(double)
     * @throws	   java.io.IOException
     */

    abstract public void print(double d) throws IOException;

    /**
     * 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>{@link #write(int)}</code>
     * method.
     *
     * @param      s   The array of chars to be printed
     *
     * @throws  NullPointerException  If <code>s</code> is <code>null</code>
     * @throws	   java.io.IOException
     */

    abstract public void print(char s[]) throws IOException;

    /**
     * Print a string.  If the argument is <code>null</code> then the string
     * <code>"null"</code> is printed.  Otherwise, the string's 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>{@link #write(int)}</code> method.
     *
     * @param      s   The <code>String</code> to be printed
     * @throws	   java.io.IOException
     */

    abstract public void print(String s) throws IOException;

    /**
     * Print an object.  The string produced by the <code>{@link
     * java.lang.String#valueOf(Object)}</code> method is translated into bytes
     * according to the platform's default character encoding, and these bytes
     * are written in exactly the manner of the <code>{@link #write(int)}</code>
     * method.
     *
     * @param      obj   The <code>Object</code> to be printed
     * @see        java.lang.Object#toString()
     * @throws	   java.io.IOException
     */

    abstract public void print(Object obj) throws IOException;

    /**
     * Terminate the current line by writing the line separator string.  The
     * line separator string is defined by the system property
     * <code>line.separator</code>, and is not necessarily a single newline
     * character (<code>'\n'</code>).
     * @throws	   java.io.IOException
     */

    abstract public void println() throws IOException;

    /**
     * Print a boolean value and then terminate the line.  This method behaves
     * as though it invokes <code>{@link #print(boolean)}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(boolean x) throws IOException;

    /**
     * Print a character and then terminate the line.  This method behaves as
     * though it invokes <code>{@link #print(char)}</code> and then <code>{@link
     * #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(char x) throws IOException;

    /**
     * Print an integer and then terminate the line.  This method behaves as
     * though it invokes <code>{@link #print(int)}</code> and then <code>{@link
     * #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(int x) throws IOException;

    /**
     * Print a long integer and then terminate the line.  This method behaves
     * as though it invokes <code>{@link #print(long)}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(long x) throws IOException;

    /**
     * Print a floating-point number and then terminate the line.  This method
     * behaves as though it invokes <code>{@link #print(float)}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(float x) throws IOException;

    /**
     * Print a double-precision floating-point number and then terminate the
     * line.  This method behaves as though it invokes <code>{@link
     * #print(double)}</code> and then <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(double x) throws IOException;

    /**
     * Print an array of characters and then terminate the line.  This method
     * behaves as though it invokes <code>{@link #print(char[])}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(char x[]) throws IOException;

    /**
     * Print a String and then terminate the line.  This method behaves as
     * though it invokes <code>{@link #print(String)}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(String x) throws IOException;

    /**
     * Print an Object and then terminate the line.  This method behaves as
     * though it invokes <code>{@link #print(Object)}</code> and then
     * <code>{@link #println()}</code>.
     * @throws	   java.io.IOException
     */

    abstract public void println(Object x) throws IOException;

    /**
     * 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.
     *
     * @throws IOException		If an I/O error occurs
     */

    abstract public void clear() throws IOException;

    /**
     * Clears the current contents of the buffer. Unlike clear(), this
     * mehtod will not throw an IOException if the buffer has already been
     * flushed. It merely clears the current content of the buffer and
     * returns.
     *
     * @throws IOException		If an I/O error occurs
     */

    abstract public void clearBuffer() throws IOException;

    /**
     * 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.
     *
     * @exception  IOException  If an I/O error occurs
     */

    abstract public void flush() throws IOException;

    /**
     * Close the stream, flushing it first.  Once a stream has been closed,
     * further write() or flush() invocations will cause an IOException to be
     * thrown.  Closing a previously-closed stream, however, has no effect.
     *
     * @exception  IOException  If an I/O error occurs
     */

    abstract public void close() throws IOException;

    /**
     * @return the size of the buffer in bytes, or 0 is unbuffered.
     */

    public int getBufferSize() { return bufferSize; }

    /**
     * @return the number of bytes unused in the buffer
     */

    abstract public int getRemaining();

    /**
     * @return if this JspWriter is auto flushing or throwing IOExceptions on buffer overflow conditions
     */

    public boolean isAutoFlush() { return autoFlush; }

    /*
     * fields
     */

    protected int     bufferSize;
    protected boolean autoFlush;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色久优优欧美色久优优| 免费在线观看成人| 欧美精品一区二区三区在线播放| 成人av集中营| 波多野结衣在线一区| 久久精品久久精品| 久久99精品久久久久久久久久久久| 五月婷婷综合在线| 青椒成人免费视频| 国内久久婷婷综合| 丁香婷婷综合五月| 91免费在线看| 欧美精品丝袜中出| 久久久久久久综合狠狠综合| 久久九九全国免费| 成人免费小视频| 亚洲国产色一区| 日本中文一区二区三区| 麻豆视频一区二区| 成人免费高清在线观看| 91麻豆精品秘密| 6080国产精品一区二区| 久久影院视频免费| 亚洲女同ⅹxx女同tv| 午夜婷婷国产麻豆精品| 六月丁香婷婷久久| 91麻豆国产福利在线观看| 欧美丝袜丝交足nylons图片| 日韩精品一区在线观看| 国产精品福利一区| 日韩av二区在线播放| 国产91精品露脸国语对白| 欧美影院午夜播放| 久久女同性恋中文字幕| 亚洲天堂a在线| 乱中年女人伦av一区二区| 9i在线看片成人免费| 欧美一区二区福利视频| 日韩美女视频一区二区| 激情综合色综合久久| 欧美亚洲国产bt| 国产精品美女一区二区在线观看| 亚洲影院在线观看| 国产成人av电影在线播放| 欧美日韩成人在线| 亚洲欧洲日韩在线| 久久成人综合网| 欧美精品v国产精品v日韩精品| 久久亚洲精华国产精华液| 亚洲一二三区不卡| 99精品国产热久久91蜜凸| 久久综合九色综合欧美98| 亚洲成人三级小说| 91传媒视频在线播放| 日本一区二区免费在线观看视频 | 欧美日韩性生活| 国产三级三级三级精品8ⅰ区| 亚洲v日本v欧美v久久精品| www..com久久爱| 久久毛片高清国产| 蜜桃av噜噜一区| 91精品国产免费久久综合| 一区二区三区毛片| 99久久亚洲一区二区三区青草| 久久久久久电影| 国产精品一区一区| 精品va天堂亚洲国产| 蜜臀av性久久久久蜜臀av麻豆| 欧美天堂亚洲电影院在线播放| 亚洲啪啪综合av一区二区三区| 成人av资源站| 中文字幕国产一区| 国产成人h网站| 国产欧美一区二区三区在线看蜜臀 | 岛国精品在线观看| 久久综合九色综合欧美就去吻| 免费成人在线网站| 欧美成人一区二区| 蜜桃久久av一区| 337p亚洲精品色噜噜噜| 欧美aa在线视频| 精品国产髙清在线看国产毛片| 五月激情六月综合| 欧美一区二区不卡视频| 久久电影网站中文字幕| 欧美韩日一区二区三区四区| 成人高清免费在线播放| 一区二区三区日本| 欧美美女直播网站| 久久99精品久久久久久动态图| 日韩欧美专区在线| 国产成人鲁色资源国产91色综| 国产精品久久久久三级| 在线精品视频一区二区| 青青国产91久久久久久| 久久免费视频一区| 色婷婷av一区二区三区软件| 亚洲影视资源网| 欧美精品一区二区蜜臀亚洲| 风间由美一区二区三区在线观看| 中文字幕亚洲区| 日韩你懂的在线观看| 成人在线综合网| 午夜精品一区二区三区三上悠亚 | 久久精品国产999大香线蕉| 欧美国产日韩一二三区| 欧美性感一类影片在线播放| 蜜臀av一区二区在线观看 | 亚洲综合区在线| 欧美成人高清电影在线| 99精品在线观看视频| 日本亚洲电影天堂| 综合亚洲深深色噜噜狠狠网站| 欧美日韩一区二区三区高清| 国产综合久久久久久鬼色| 亚洲精品免费在线播放| 精品国精品国产尤物美女| 97久久人人超碰| 国产一区二区在线观看视频| 自拍视频在线观看一区二区| 日韩欧美成人激情| 欧美视频一区二区三区在线观看| 国产乱码字幕精品高清av| 亚洲国产aⅴ天堂久久| 国产精品视频免费看| 日韩欧美高清dvd碟片| 欧美亚洲国产怡红院影院| 成人在线一区二区三区| 久久69国产一区二区蜜臀| 亚洲国产三级在线| 成人欧美一区二区三区视频网页| 欧美电影精品一区二区| 欧美日韩一区二区三区在线| 91在线免费看| 成人av片在线观看| 成人午夜免费视频| 国产精品主播直播| 国产精品综合在线视频| 免费看欧美美女黄的网站| 亚洲1区2区3区4区| 香蕉乱码成人久久天堂爱免费| 亚洲色欲色欲www| 中文字幕日韩欧美一区二区三区| 国产三级精品三级在线专区| 精品久久国产老人久久综合| 制服丝袜av成人在线看| 欧美日韩高清不卡| 欧美精品视频www在线观看| 欧洲在线/亚洲| 欧美三级中文字幕| 欧美日韩免费在线视频| 欧美日韩精品一区二区三区 | av网站免费线看精品| 高清免费成人av| 不卡的看片网站| 94-欧美-setu| 91黄视频在线| 欧美日韩成人综合天天影院 | 这里只有精品电影| 日韩精品一区二区三区视频播放 | 99久久免费精品高清特色大片| 国产成人午夜高潮毛片| 国产激情视频一区二区三区欧美 | 91精品国产综合久久精品app | 成人黄色国产精品网站大全在线免费观看 | 大桥未久av一区二区三区中文| 国产成人亚洲综合色影视| zzijzzij亚洲日本少妇熟睡| 北条麻妃一区二区三区| 在线观看免费一区| 91精品婷婷国产综合久久竹菊| 欧美一区二区三区男人的天堂| 欧美成人国产一区二区| 国产欧美日韩不卡免费| 一区二区三区.www| 日本欧美在线观看| 国产美女娇喘av呻吟久久| 99v久久综合狠狠综合久久| 在线精品亚洲一区二区不卡| 日韩一区二区三区精品视频| 久久久久九九视频| 亚洲一二三四在线| 国精产品一区一区三区mba视频| 大白屁股一区二区视频| 欧洲精品在线观看| 精品国产欧美一区二区| 中文字幕一区二区三区在线播放| 一区二区三区四区在线免费观看| 日韩电影在线观看网站| 丁香六月综合激情| 日韩视频免费直播| 国产精品久久久久久久蜜臀 | 午夜久久电影网| 国产白丝网站精品污在线入口| 色婷婷综合久久久中文一区二区 | 国产成人自拍高清视频在线免费播放| av午夜精品一区二区三区| 欧美一区二区视频观看视频| 国产精品女同互慰在线看| 秋霞影院一区二区|