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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? filehandler.java

?? gcc的組建
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* FileHandler.java -- a class for publishing log messages to log files   Copyright (C) 2002, 2003, 2004, 2005  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.util.logging;import java.io.File;import java.io.FileOutputStream;import java.io.FilterOutputStream;import java.io.IOException;import java.io.OutputStream;import java.util.LinkedList;import java.util.ListIterator;/** * A <code>FileHandler</code> publishes log records to a set of log * files.  A maximum file size can be specified; as soon as a log file * reaches the size limit, it is closed and the next file in the set * is taken. * * <p><strong>Configuration:</strong> Values of the subsequent * <code>LogManager</code> properties are taken into consideration * when a <code>FileHandler</code> is initialized.  If a property is * not defined, or if it has an invalid value, a default is taken * without an exception being thrown. * * <ul> * * <li><code>java.util.FileHandler.level</code> - specifies *     the initial severity level threshold. Default value: *     <code>Level.ALL</code>.</li> * * <li><code>java.util.FileHandler.filter</code> - specifies *     the name of a Filter class. Default value: No Filter.</li> * * <li><code>java.util.FileHandler.formatter</code> - specifies *     the name of a Formatter class. Default value: *     <code>java.util.logging.XMLFormatter</code>.</li> * * <li><code>java.util.FileHandler.encoding</code> - specifies *     the name of the character encoding. Default value: *     the default platform encoding.</li> * * <li><code>java.util.FileHandler.limit</code> - specifies the number *     of bytes a log file is approximately allowed to reach before it *     is closed and the handler switches to the next file in the *     rotating set.  A value of zero means that files can grow *     without limit.  Default value: 0 (unlimited growth).</li> * * <li><code>java.util.FileHandler.count</code> - specifies the number *     of log files through which this handler cycles.  Default value: *     1.</li> * * <li><code>java.util.FileHandler.pattern</code> - specifies a *     pattern for the location and name of the produced log files. *     See the section on <a href="#filePatterns">file name *     patterns</a> for details.  Default value: *     <code>"%h/java%u.log"</code>.</li> * * <li><code>java.util.FileHandler.append</code> - specifies *     whether the handler will append log records to existing *     files, or whether the handler will clear log files *     upon switching to them. Default value: <code>false</code>, *     indicating that files will be cleared.</li> * * </ul> * * <p><a name="filePatterns"><strong>File Name Patterns:</strong></a> * The name and location and log files are specified with pattern * strings. The handler will replace the following character sequences * when opening log files: * * <p><ul> * <li><code>/</code> - replaced by the platform-specific path name *     separator.  This value is taken from the system property *     <code>file.separator</code>.</li> * * <li><code>%t</code> - replaced by the platform-specific location of *     the directory intended for temporary files.  This value is *     taken from the system property <code>java.io.tmpdir</code>.</li> * * <li><code>%h</code> - replaced by the location of the home *     directory of the current user.  This value is taken from the *     system property <code>file.separator</code>.</li> * * <li><code>%g</code> - replaced by a generation number for *     distinguisthing the individual items in the rotating set  *     of log files.  The generation number cycles through the *     sequence 0, 1, ..., <code>count</code> - 1.</li> * * <li><code>%u</code> - replaced by a unique number for *     distinguisthing the output files of several concurrently *     running processes.  The <code>FileHandler</code> starts *     with 0 when it tries to open a log file.  If the file *     cannot be opened because it is currently in use, *     the unique number is incremented by one and opening *     is tried again.  These steps are repeated until the *     opening operation succeeds. * *     <p>FIXME: Is the following correct? Please review.  The unique *     number is determined for each log file individually when it is *     opened upon switching to the next file.  Therefore, it is not *     correct to assume that all log files in a rotating set bear the *     same unique number. * *     <p>FIXME: The Javadoc for the Sun reference implementation *     says: "Note that the use of unique ids to avoid conflicts is *     only guaranteed to work reliably when using a local disk file *     system." Why? This needs to be mentioned as well, in case *     the reviewers decide the statement is true.  Otherwise, *     file a bug report with Sun.</li> * * <li><code>%%</code> - replaced by a single percent sign.</li> * </ul> * * <p>If the pattern string does not contain <code>%g</code> and * <code>count</code> is greater than one, the handler will append * the string <code>.%g</code> to the specified pattern. * * <p>If the handler attempts to open a log file, this log file * is being used at the time of the attempt, and the pattern string * does not contain <code>%u</code>, the handler will append * the string <code>.%u</code> to the specified pattern. This * step is performed after any generation number has been * appended. * * <p><em>Examples for the GNU platform:</em>  * * <p><ul> * * <li><code>%h/java%u.log</code> will lead to a single log file *     <code>/home/janet/java0.log</code>, assuming <code>count</code> *     equals 1, the user's home directory is *     <code>/home/janet</code>, and the attempt to open the file *     succeeds.</li> * * <li><code>%h/java%u.log</code> will lead to three log files *     <code>/home/janet/java0.log.0</code>, *     <code>/home/janet/java0.log.1</code>, and *     <code>/home/janet/java0.log.2</code>, *     assuming <code>count</code> equals 3, the user's home *     directory is <code>/home/janet</code>, and all attempts *     to open files succeed.</li> * * <li><code>%h/java%u.log</code> will lead to three log files *     <code>/home/janet/java0.log.0</code>, *     <code>/home/janet/java1.log.1</code>, and *     <code>/home/janet/java0.log.2</code>, *     assuming <code>count</code> equals 3, the user's home *     directory is <code>/home/janet</code>, and the attempt *     to open <code>/home/janet/java0.log.1</code> fails.</li> * * </ul> * * @author Sascha Brawer (brawer@acm.org) */public class FileHandler  extends StreamHandler{  /**   * The number of bytes a log file is approximately allowed to reach   * before it is closed and the handler switches to the next file in   * the rotating set.  A value of zero means that files can grow   * without limit.   */  private final int limit; /**  * The number of log files through which this handler cycles.  */  private final int count;  /**   * The pattern for the location and name of the produced log files.   * See the section on <a href="#filePatterns">file name patterns</a>   * for details.   */  private final String pattern;  /**   * Indicates whether the handler will append log records to existing   * files (<code>true</code>), or whether the handler will clear log files   * upon switching to them (<code>false</code>).   */  private final boolean append;  /**   * The number of bytes that have currently been written to the stream.   * Package private for use in inner classes.   */  long written;  /**   * A linked list of files we are, or have written to. The entries   * are file path strings, kept in the order    */  private LinkedList logFiles;  /**   * Constructs a <code>FileHandler</code>, taking all property values   * from the current {@link LogManager LogManager} configuration.   *   * @throws java.io.IOException FIXME: The Sun Javadoc says: "if   *         there are IO problems opening the files."  This conflicts   *         with the general principle that configuration errors do   *         not prohibit construction. Needs review.   *   * @throws SecurityException if a security manager exists and   *         the caller is not granted the permission to control   *         the logging infrastructure.   */  public FileHandler()    throws IOException, SecurityException  {    this(/* pattern: use configiguration */ null,	 LogManager.getIntProperty("java.util.logging.FileHandler.limit",				   /* default */ 0),	 LogManager.getIntProperty("java.util.logging.FileHandler.count",				   /* default */ 1),	 LogManager.getBooleanProperty("java.util.logging.FileHandler.append",				       /* default */ false));  }  /* FIXME: Javadoc missing. */  public FileHandler(String pattern)    throws IOException, SecurityException  {    this(pattern,	 /* limit */ 0,	 /* count */ 1,	 /* append */ false);  }  /* FIXME: Javadoc missing. */  public FileHandler(String pattern, boolean append)    throws IOException, SecurityException  {    this(pattern,	 /* limit */ 0,	 /* count */ 1,	 append);  }  /* FIXME: Javadoc missing. */  public FileHandler(String pattern, int limit, int count)    throws IOException, SecurityException  {    this(pattern, limit, count, 	 LogManager.getBooleanProperty(	   "java.util.logging.FileHandler.append",	   /* default */ false));  }  /**   * Constructs a <code>FileHandler</code> given the pattern for the   * location and name of the produced log files, the size limit, the   * number of log files thorough which the handler will rotate, and   * the <code>append</code> property.  All other property values are   * taken from the current {@link LogManager LogManager}   * configuration.   *   * @param pattern The pattern for the location and name of the   *        produced log files.  See the section on <a   *        href="#filePatterns">file name patterns</a> for details.   *        If <code>pattern</code> is <code>null</code>, the value is   *        taken from the {@link LogManager LogManager} configuration   *        property   *        <code>java.util.logging.FileHandler.pattern</code>.   *        However, this is a pecularity of the GNU implementation,   *        and Sun's API specification does not mention what behavior   *        is to be expected for <code>null</code>. Therefore,   *        applications should not rely on this feature.   *   * @param limit specifies the number of bytes a log file is   *        approximately allowed to reach before it is closed and the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av免费在线观看| 日韩精品中文字幕一区| 91精品国产色综合久久不卡电影| 久久免费的精品国产v∧| 亚洲综合小说图片| 成人免费视频视频在线观看免费 | 国产成人精品影院| 欧美午夜不卡视频| 中文字幕一区二| 国内成+人亚洲+欧美+综合在线| 91蝌蚪porny| 国产午夜精品美女毛片视频| 日韩av网站在线观看| 91福利视频久久久久| 亚洲欧洲性图库| 成人综合婷婷国产精品久久免费| 日韩一区二区高清| 亚洲高清视频的网址| 91电影在线观看| 日韩一区在线播放| 99re6这里只有精品视频在线观看| 欧美精品一区视频| 久久91精品久久久久久秒播| 欧美伦理影视网| 午夜电影一区二区| 欧美日韩国产一级片| 亚洲一区日韩精品中文字幕| 91浏览器入口在线观看| 亚洲色图20p| 91麻豆视频网站| 一区二区欧美在线观看| 日本韩国一区二区三区视频| 亚洲精品日日夜夜| 色就色 综合激情| 亚洲一区二区精品视频| 精品视频1区2区3区| 亚洲国产精品久久久男人的天堂| 欧美亚洲自拍偷拍| 日韩激情av在线| 精品少妇一区二区| 国产精品一区在线观看你懂的| 久久久777精品电影网影网| 国产一区91精品张津瑜| 国产欧美精品一区二区色综合| 成人av在线电影| 亚洲美女视频在线观看| 欧美在线看片a免费观看| 亚洲成a人片在线不卡一二三区| 欧美日韩午夜在线| 久久精工是国产品牌吗| 国产丝袜美腿一区二区三区| 91在线观看下载| 亚洲成人动漫av| 久久久一区二区三区| 国产成人免费在线视频| 亚洲欧美一区二区三区久本道91| 欧美在线小视频| 麻豆91精品视频| 国产精品久久精品日日| 欧美日韩一区二区三区在线| 精品无码三级在线观看视频| 中文字幕日韩欧美一区二区三区| 欧美性色综合网| 国产精品主播直播| 玉米视频成人免费看| 6080午夜不卡| 成人av网站在线观看| 亚洲成av人综合在线观看| 久久亚洲二区三区| 欧美性一区二区| 国产精品一区免费在线观看| 一个色综合av| 久久精品一区八戒影视| 欧美美女一区二区在线观看| 成人激情图片网| 蜜乳av一区二区三区| 综合在线观看色| 精品国产乱码久久久久久久久| 99视频有精品| 国产精品亚洲成人| 日韩精品亚洲专区| 亚洲激情自拍视频| 国产人成亚洲第一网站在线播放| 欧美高清视频不卡网| av亚洲精华国产精华精| 精品亚洲porn| 麻豆精品视频在线观看视频| 亚洲另类在线视频| 欧美激情在线一区二区三区| 日韩女同互慰一区二区| 欧美午夜片在线看| 色哟哟亚洲精品| av午夜精品一区二区三区| 蜜桃视频一区二区三区| 午夜精品久久久久久久久| 亚洲欧美视频一区| 国产视频一区在线播放| 久久网站最新地址| 日韩欧美不卡一区| 日韩一区二区免费视频| 欧美日韩精品一二三区| 欧日韩精品视频| 91日韩在线专区| 成人国产在线观看| 成人免费看视频| 国产一区二区电影| 国产一级精品在线| 国产精品一二三区在线| 国产乱子伦视频一区二区三区| 男人操女人的视频在线观看欧美| 亚洲大片精品永久免费| 一区二区日韩av| 亚洲成a天堂v人片| 日韩和欧美一区二区| 日韩av成人高清| 日韩成人av影视| 免费观看在线色综合| 另类小说视频一区二区| 蜜桃视频第一区免费观看| 美国av一区二区| 国产在线精品不卡| 国产91综合一区在线观看| 国产成人免费av在线| bt7086福利一区国产| 色香色香欲天天天影视综合网| 在线免费不卡电影| 欧美美女直播网站| 久久伊人中文字幕| 中文字幕亚洲成人| 午夜成人免费电影| 卡一卡二国产精品 | 日本一道高清亚洲日美韩| 日韩精品一区第一页| 久久精品99国产国产精| 国产一区999| 色综合久久久久久久久久久| 欧美日韩国产另类不卡| 欧美成人乱码一区二区三区| 久久久精品免费观看| 亚洲美女免费在线| 秋霞影院一区二区| 成人污污视频在线观看| 欧美日韩一区二区三区视频| 欧美变态口味重另类| 亚洲欧洲精品一区二区三区| 亚洲一二三四在线观看| 麻豆国产欧美日韩综合精品二区| 成人综合激情网| 欧美日韩国产美| 国产喷白浆一区二区三区| 亚洲一区二区三区中文字幕| 久久99精品国产麻豆不卡| 白白色 亚洲乱淫| 欧美一区二区视频在线观看2022| 国产日本欧洲亚洲| 日韩精品电影一区亚洲| 成人av综合一区| 欧美一二三区在线| 亚洲美女一区二区三区| 国产一区二三区好的| 色综合一个色综合| 337p粉嫩大胆色噜噜噜噜亚洲 | 国产欧美一区二区精品婷婷| 亚洲午夜激情网页| 成人黄色a**站在线观看| 欧美一区二区美女| 一区二区三区四区乱视频| 国产在线一区二区综合免费视频| 欧美午夜精品一区二区三区 | 亚洲v日本v欧美v久久精品| 国产成a人亚洲| 精品久久人人做人人爽| 亚洲国产精品尤物yw在线观看| 成人免费毛片app| 久久亚洲春色中文字幕久久久| 日韩主播视频在线| 欧美中文字幕一区二区三区 | 91小视频在线| 中文字幕欧美日韩一区| 精品一区二区影视| 欧美日韩卡一卡二| 一区二区三区在线不卡| 春色校园综合激情亚洲| 久久这里只有精品6| 美女精品自拍一二三四| 欧美肥大bbwbbw高潮| 亚洲成人激情av| 欧美色电影在线| 亚洲在线视频免费观看| 色婷婷亚洲综合| 一区二区三区高清在线| 91在线无精精品入口| 亚洲欧美一区二区在线观看| 成人激情午夜影院| 国产精品国产三级国产a| 成人黄色777网| 亚洲色图欧美激情| 在线欧美日韩国产| 一二三区精品视频| 欧美三级韩国三级日本一级|