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

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

?? sourcewriter.java

?? 一個java方面的消息訂閱發送的源碼
?? JAVA
字號:
/**
 * Redistribution and use of this software and associated documentation
 * ("Software"), with or without modification, are permitted provided
 * that the following conditions are met:
 *
 * 1. Redistributions of source code must retain copyright
 *    statements and notices.  Redistributions must also contain a
 *    copy of this document.
 *
 * 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 name "Exolab" must not be used to endorse or promote
 *    products derived from this Software without prior written
 *    permission of Exoffice Technologies.  For written permission,
 *    please contact info@exolab.org.
 *
 * 4. Products derived from this Software may not be called "Exolab"
 *    nor may "Exolab" appear in their names without prior written
 *    permission of Exoffice Technologies. Exolab is a registered
 *    trademark of Exoffice Technologies.
 *
 * 5. Due credit should be given to the Exolab Project
 *    (http://www.exolab.org/).
 *
 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
 * ``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
 * EXOFFICE TECHNOLOGIES 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.
 *
 * Copyright 2003-2004 (C) Exoffice Technologies Inc. All Rights Reserved.
 *
 * $Id: SourceWriter.java,v 1.1 2004/11/26 01:51:14 tanderson Exp $
 */
package org.exolab.jms.plugins.proxygen;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.Writer;


/**
 * Helper class for generating formatted Java source
 *
 * @version     $Revision: 1.1 $ $Date: 2004/11/26 01:51:14 $
 * @author      <a href="mailto:tma@netspace.net.au">Tim Anderson</a>
 */
public class SourceWriter extends BufferedWriter {

    /**
     * The current indent
     */
    private int _indent = 0;

    /**
     * The number of spaces to indent
     */
    private final int _spaces = 4;

    /**
     * Determines if at the start of a new line
     */
    private boolean _startOfLine = true;


    /**
     * Construct a new <code>SourceWriter</code>
     *
     * @param writer the writer to write to
     */
    public SourceWriter(Writer writer) {
        super(writer);
    }

    /**
     * Increments the indentation
     */
    public void incIndent() {
        ++_indent;
    }

    /**
     * Decrements the indentation
     */
    public void decIndent() {
        --_indent;
    }

    /**
     * Write a single character
     *
     * @param ch the character to write
     * @throws IOException for any I/O error
     */
    public void write(int ch) throws IOException {
        indent();
        super.write(ch);
    }

    /**
     * Write a portion of an array of characters.
     *
     * @param buffer the buffer to write
     * @param offset the offset into <code>buffer</code>
     * @param length the no. of characters to write
     * @throws IOException for any I/O error
     */
    public void write(char[] buffer, int offset, int length)
        throws IOException {
        indent();
        super.write(buffer, offset, length);
    }

    /**
     * Write a portion of a String.
     *
     * @param string the String to write
     * @param offset the offset into <code>string</code>
     * @param length the no. of characters to write
     * @throws IOException for any I/O error
     */
    public void write(String string, int offset, int length)
        throws IOException {
        indent();
        super.write(string, offset, length);
    }

    /**
     * Write a line separator
     *
     * @throws IOException for any I/O error
     */
    public void writeln() throws IOException {
        newLine();
    }

    /**
     * Write a String terminated by a new line
     *
     * @param string the String to write
     * @throws IOException for any I/O error
     */
    public void writeln(String string) throws IOException {
        write(string);
        newLine();
    }

    /**
     * Write a new line, and increase the indent
     *
     * @throws IOException for any I/O error
     */
    public void writelnInc() throws IOException {
        newLine();
        incIndent();
    }

    /**
     * Write a String terminated by a new line, and increase the indent
     *
     * @param string the String to write
     * @throws IOException for any I/O error
     */
    public void writelnInc(String string) throws IOException {
        writeln(string);
        incIndent();
    }

    /**
     * Write a new line, and decrease the indent
     *
     * @throws IOException for any I/O error
     */
    public void writelnDec() throws IOException {
        newLine();
        decIndent();
    }

    /**
     * Write a String terminated by a new line, and decrease the indent
     *
     * @param string the String to write
     * @throws IOException for any I/O error
     */
    public void writelnDec(String string) throws IOException {
        writeln(string);
        decIndent();
    }

    /**
     * Write a line separator
     *
     * @throws IOException for any error
     */
    public void newLine() throws IOException {
        super.newLine();
        _startOfLine = true;
    }

    /**
     * Indents iff at the start of the line
     *
     * @throws IOException for any I/O error
     */
    protected void indent() throws IOException {
        if (_startOfLine) {
            int count = _indent * _spaces;
            for (int i = 0; i < count; ++i) {
                super.write(' ');
            }
            _startOfLine = false;
        }
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
另类人妖一区二区av| 成人视屏免费看| 国产欧美日韩激情| 欧美午夜不卡视频| 国产a精品视频| 日本不卡中文字幕| 亚洲人成在线观看一区二区| 精品国产一区二区三区久久久蜜月| 成人av先锋影音| 极品瑜伽女神91| 五月天久久比比资源色| 中文字幕一区二区三区四区不卡 | 免费人成网站在线观看欧美高清| 国产女人18水真多18精品一级做| 欧美老人xxxx18| 97久久精品人人做人人爽50路| 蜜臀a∨国产成人精品| 一区二区三区日韩精品视频| 国产精品欧美极品| 精品国产一区二区三区四区四 | 欧美蜜桃一区二区三区| 97超碰欧美中文字幕| 国产一区美女在线| 久久疯狂做爰流白浆xx| 日本中文一区二区三区| 亚洲国产精品久久人人爱| 日韩一区中文字幕| 国产精品久久久久久一区二区三区| 欧美成人女星排名| 欧美一级欧美三级在线观看| 欧美日韩国产小视频在线观看| www.欧美日韩| 99麻豆久久久国产精品免费| 成人激情小说网站| 成人一区二区三区在线观看| 国产一区二区三区视频在线播放 | 国产99久久久国产精品潘金网站| 老司机精品视频在线| 日韩经典中文字幕一区| 亚洲国产综合色| 亚洲成人免费影院| 视频在线观看91| 日本女优在线视频一区二区 | 国产麻豆精品久久一二三| 蜜桃一区二区三区在线| 麻豆国产精品一区二区三区| 麻豆久久久久久| 韩国三级在线一区| 国产成人综合亚洲网站| 成人高清在线视频| 91伊人久久大香线蕉| 色婷婷久久综合| 欧美色偷偷大香| 69久久99精品久久久久婷婷| 欧美成人精品3d动漫h| 久久色在线观看| 中文字幕一区二区三区色视频| 亚洲品质自拍视频| 亚洲成人在线免费| 狂野欧美性猛交blacked| 国产乱码精品一区二区三区忘忧草| 国产精品一二三四五| 国产suv精品一区二区三区| 99久久久精品免费观看国产蜜| 91国产成人在线| 欧美日韩亚洲国产综合| 欧美成人三级在线| 国产精品麻豆久久久| 一级中文字幕一区二区| 日韩精品久久久久久| 国产乱码精品一品二品| 99精品国产91久久久久久 | 欧美色图在线观看| 欧美成人综合网站| 成人欧美一区二区三区| 亚洲高清免费在线| 美国十次了思思久久精品导航| 国产乱码一区二区三区| 国产日本欧美一区二区| 亚洲区小说区图片区qvod| 日韩精品成人一区二区在线| 国产成人av资源| 在线观看国产91| 日韩欧美一区在线| 日本一二三四高清不卡| 午夜私人影院久久久久| 精品一区二区三区不卡| 色狠狠桃花综合| 亚洲精品一区二区在线观看| 亚洲欧美另类久久久精品| 久久综合综合久久综合| 91污在线观看| 精品国产污网站| 亚洲自拍偷拍图区| 国产福利91精品一区二区三区| 欧美日韩中文字幕一区二区| 国产婷婷一区二区| 日韩va欧美va亚洲va久久| 成人激情图片网| 欧美一区二区三区小说| 亚洲欧美日韩中文播放| 国产一区二区三区黄视频| 欧美日本一区二区三区四区 | 亚洲欧洲精品天堂一级 | 国产成人精品网址| 91精品欧美一区二区三区综合在| 中文字幕日韩一区二区| 国产在线播放一区二区三区| 欧美日韩电影在线| 亚洲精品欧美激情| 不卡av免费在线观看| 久久亚洲综合色一区二区三区| 亚洲午夜精品在线| 99视频国产精品| 国产亚洲精品aa午夜观看| 免费成人在线观看| 欧美精品色一区二区三区| 亚洲免费三区一区二区| 国产mv日韩mv欧美| xf在线a精品一区二区视频网站| 亚洲电影中文字幕在线观看| 99精品视频在线观看免费| 国产亚洲综合性久久久影院| 精品午夜久久福利影院| 欧美一区二区三区免费视频 | 日本欧美韩国一区三区| 欧美三区在线观看| 亚洲欧美日韩国产一区二区三区| 风间由美一区二区av101| 久久亚洲精品国产精品紫薇| 天堂影院一区二区| 欧美另类变人与禽xxxxx| 亚洲成人精品影院| 在线欧美一区二区| 亚洲自拍偷拍综合| 欧美色网一区二区| 天天影视色香欲综合网老头| 欧美午夜一区二区三区免费大片| 亚洲欧美偷拍另类a∨色屁股| 97久久超碰国产精品| 亚洲欧美一区二区三区孕妇| 色综合天天综合网国产成人综合天 | 国产精品一区在线观看乱码| 欧美精品日日鲁夜夜添| 日日欢夜夜爽一区| 欧美一区二区三区免费视频| 久久国内精品视频| 久久影院视频免费| 成人一区二区三区视频| 成人欧美一区二区三区视频网页 | 中文一区在线播放| 北条麻妃一区二区三区| 亚洲视频综合在线| 欧美在线观看18| 日韩国产欧美在线视频| 日韩欧美第一区| 黄色日韩网站视频| 国产精品伦一区二区三级视频| av电影天堂一区二区在线观看| 亚洲色欲色欲www| 欧美三级日本三级少妇99| 喷白浆一区二区| 国产欧美日产一区| 色诱视频网站一区| 日韩影院免费视频| 久久精品免视看| 色综合久久久久综合99| 日韩国产欧美在线观看| 国产亚洲成av人在线观看导航 | 欧美一级免费观看| 国产另类ts人妖一区二区| 亚洲少妇最新在线视频| 欧美一区二区三区视频| 成人中文字幕合集| 亚洲午夜日本在线观看| 精品三级在线观看| 色综合视频一区二区三区高清| 日韩国产一区二| 国产精品第五页| 91精品国产综合久久久蜜臀粉嫩| 国产激情一区二区三区| 亚洲国产欧美在线人成| 欧美不卡在线视频| 91在线云播放| 久久精品国产亚洲高清剧情介绍 | 亚洲码国产岛国毛片在线| 51精品国自产在线| 成人动漫在线一区| 日本美女一区二区三区视频| 国产精品女人毛片| 日韩视频一区二区| 色综合久久66| 国产一区二区三区精品视频| 亚洲国产欧美在线| 中文乱码免费一区二区| 日韩欧美久久久| 欧美揉bbbbb揉bbbbb| 丁香婷婷综合色啪| 免费视频最近日韩| 一区二区视频在线|