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

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

?? loader.java

?? apache的log4j源碼
?? JAVA
字號:
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License.  You may obtain a copy of the License at *  *      http://www.apache.org/licenses/LICENSE-2.0 *  * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.apache.log4j.helpers;import java.net.URL;import java.lang.IllegalAccessException;import java.lang.reflect.Method;import java.lang.reflect.InvocationTargetException;/**   Load resources (or images) from various sources.   @author Ceki G&uuml;lc&uuml; */public class Loader  {   static final String TSTR = "Caught Exception while in Loader.getResource. This may be innocuous.";  // We conservatively assume that we are running under Java 1.x  static private boolean java1 = true;    static private boolean ignoreTCL = false;    static {    String prop = OptionConverter.getSystemProperty("java.version", null);        if(prop != null) {      int i = prop.indexOf('.');      if(i != -1) {		if(prop.charAt(i+1) != '1')	  java1 = false;      }     }    String ignoreTCLProp = OptionConverter.getSystemProperty("log4j.ignoreTCL", null);    if(ignoreTCLProp != null) {      ignoreTCL = OptionConverter.toBoolean(ignoreTCLProp, true);          }     }    /**   *  Get a resource by delegating to getResource(String).   *  @param resource resource name   *  @param clazz class, ignored.   *  @return URL to resource or null.   *  @deprecated as of 1.2.   */  public static URL getResource(String resource, Class clazz) {      return getResource(resource);  }  /**     This method will search for <code>resource</code> in different     places. The search order is as follows:     <ol>     <p><li>Search for <code>resource</code> using the thread context     class loader under Java2. If that fails, search for     <code>resource</code> using the class loader that loaded this     class (<code>Loader</code>). Under JDK 1.1, only the the class     loader that loaded this class (<code>Loader</code>) is used.     <p><li>Try one last time with     <code>ClassLoader.getSystemResource(resource)</code>, that is is     using the system class loader in JDK 1.2 and virtual machine's     built-in class loader in JDK 1.1.     </ol>  */  static public URL getResource(String resource) {    ClassLoader classLoader = null;    URL url = null;        try {  	if(!java1) {  	  classLoader = getTCL();  	  if(classLoader != null) {  	    LogLog.debug("Trying to find ["+resource+"] using context classloader "  			 +classLoader+".");  	    url = classLoader.getResource(resource);        	    if(url != null) {  	      return url;  	    }  	  }  	}  	  	// We could not find resource. Ler us now try with the  	// classloader that loaded this class.  	classLoader = Loader.class.getClassLoader();   	if(classLoader != null) {  	  LogLog.debug("Trying to find ["+resource+"] using "+classLoader  		       +" class loader.");  	  url = classLoader.getResource(resource);  	  if(url != null) {  	    return url;  	  }  	}    } catch(Throwable t) {  	LogLog.warn(TSTR, t);    }        // Last ditch attempt: get the resource from the class path. It    // may be the case that clazz was loaded by the Extentsion class    // loader which the parent of the system class loader. Hence the    // code below.    LogLog.debug("Trying to find ["+resource+  		   "] using ClassLoader.getSystemResource().");    return ClassLoader.getSystemResource(resource);  }     /**     Are we running under JDK 1.x?          */  public  static  boolean isJava1() {    return java1;  }    /**    * Get the Thread Context Loader which is a JDK 1.2 feature. If we    * are running under JDK 1.1 or anything else goes wrong the method    * returns <code>null<code>.    *    *  */  private static ClassLoader getTCL() throws IllegalAccessException,     InvocationTargetException {    // Are we running on a JDK 1.2 or later system?    Method method = null;    try {      method = Thread.class.getMethod("getContextClassLoader", null);    } catch (NoSuchMethodException e) {      // We are running on JDK 1.1      return null;    }        return (ClassLoader) method.invoke(Thread.currentThread(), null);  }    /**   * If running under JDK 1.2 load the specified class using the   *  <code>Thread</code> <code>contextClassLoader</code> if that   *  fails try Class.forname. Under JDK 1.1 only Class.forName is   *  used.   *   */  static public Class loadClass (String clazz) throws ClassNotFoundException {    // Just call Class.forName(clazz) if we are running under JDK 1.1    // or if we are instructed to ignore the TCL.    if(java1 || ignoreTCL) {      return Class.forName(clazz);    } else {      try {	return getTCL().loadClass(clazz);      } catch(Throwable e) {	// we reached here because tcl was null or because of a	// security exception, or because clazz could not be loaded...	// In any case we now try one more time	return Class.forName(clazz);      }    }  } }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合图片区| 麻豆91精品视频| 欧美国产禁国产网站cc| 久久综合视频网| 久久在线观看免费| 国产精品视频麻豆| 亚洲国产精品t66y| 国产偷国产偷精品高清尤物| 一区二区三区欧美日韩| 欧美日韩一级二级| 日韩一区二区三区观看| 91精品国产全国免费观看| 欧美疯狂性受xxxxx喷水图片| 日韩一区二区三区电影在线观看| 久久美女高清视频| 亚洲欧洲国产日韩| 亚洲国产精品久久不卡毛片| 国产乱子伦视频一区二区三区| jlzzjlzz亚洲日本少妇| 777亚洲妇女| 精品精品国产高清a毛片牛牛| 国产亚洲欧美色| 亚洲免费三区一区二区| 日本免费在线视频不卡一不卡二| 国产精品一二一区| 欧美久久久久久蜜桃| 精品99一区二区| 亚洲制服丝袜一区| 国产又粗又猛又爽又黄91精品| 91国产免费观看| 久久久影视传媒| 一区二区三区精品视频| 国产一区二区看久久| 在线观看www91| 亚洲欧洲日产国码二区| 蜜臀99久久精品久久久久久软件| 色成人在线视频| 欧美精品一区二区久久久| 亚洲一区二区视频在线观看| 激情六月婷婷综合| 欧美美女视频在线观看| 精品国产精品网麻豆系列| 亚洲三级视频在线观看| 精久久久久久久久久久| 色哟哟在线观看一区二区三区| 欧美日韩在线观看一区二区 | 3d成人动漫网站| 2021国产精品久久精品| 91搞黄在线观看| 最新中文字幕一区二区三区| 波多野结衣精品在线| 日韩欧美在线1卡| 亚洲成人一区在线| 不卡av免费在线观看| 国产欧美一区二区精品忘忧草| 日韩精品电影在线观看| 在线观看网站黄不卡| 亚洲天堂精品视频| av电影天堂一区二区在线观看| 日韩欧美一级片| 亚洲国产精品久久久男人的天堂| 91碰在线视频| 中文字幕成人av| 久久成人免费日本黄色| 欧美一区二区三区影视| 亚洲精品视频在线观看网站| 91看片淫黄大片一级在线观看| 久久网这里都是精品| 国产伦精品一区二区三区在线观看| 欧美精品电影在线播放| 日韩国产精品91| 欧美三区免费完整视频在线观看| 亚洲最新视频在线播放| 91啪在线观看| 久久精品视频免费观看| 国产一区二区三区四区在线观看| 91麻豆精品国产91久久久久久| 日韩中文字幕亚洲一区二区va在线| 91欧美激情一区二区三区成人| 亚洲色图欧美偷拍| 99久久久国产精品免费蜜臀| 怡红院av一区二区三区| 91麻豆精东视频| 亚洲一区二区精品久久av| 欧美综合色免费| 丝袜诱惑制服诱惑色一区在线观看| 欧美亚州韩日在线看免费版国语版| 亚洲欧美经典视频| 日本高清视频一区二区| 亚洲视频一区在线| 色94色欧美sute亚洲13| 亚洲欧洲精品成人久久奇米网| 欧洲在线/亚洲| 一区二区三区色| 欧美美女网站色| 免费成人结看片| 国产欧美一区二区精品久导航 | 国产成人在线免费观看| 久久综合色之久久综合| 色呦呦国产精品| 精品一二三四区| 6080国产精品一区二区| 亚洲综合一区二区精品导航| heyzo一本久久综合| 91精品国产综合久久久久久| 99re成人在线| 99在线精品一区二区三区| 制服丝袜中文字幕亚洲| 国产91精品一区二区麻豆亚洲| 国产一本一道久久香蕉| 色哟哟在线观看一区二区三区| 色婷婷久久一区二区三区麻豆| 国产原创一区二区| 亚洲午夜羞羞片| 国产性色一区二区| 欧美日韩中文一区| 午夜天堂影视香蕉久久| 日本一区二区三区在线观看| 欧美性大战xxxxx久久久| 91在线精品一区二区| 不卡大黄网站免费看| 久久99久久精品欧美| 狠狠色丁香久久婷婷综| 97久久人人超碰| 欧美成人猛片aaaaaaa| 中文字幕免费不卡| 一区二区三区四区在线免费观看| 国产精品丝袜在线| 欧美一二三四在线| 欧美三级日韩在线| 91精品国产高清一区二区三区| 欧美日韩免费观看一区三区| 色综合视频在线观看| 欧美久久一区二区| 精品国产伦一区二区三区观看方式| www久久精品| 久久午夜羞羞影院免费观看| 久久亚洲一级片| 国产精品对白交换视频| 一区在线观看视频| 亚洲自拍偷拍九九九| 日韩av不卡在线观看| 国产成人精品一区二区三区四区| 精品在线一区二区三区| 色偷偷成人一区二区三区91| 欧美老女人第四色| 欧美成人福利视频| 在线播放/欧美激情| 欧美一级久久久| 一区二区三区美女| 午夜欧美在线一二页| 国产福利精品一区| 欧美一区二区播放| 亚洲女同ⅹxx女同tv| 一二三四社区欧美黄| 成人久久久精品乱码一区二区三区| 欧美成人bangbros| 日本午夜一区二区| 国内精品久久久久影院薰衣草| 日韩欧美中文字幕公布| 成人夜色视频网站在线观看| 亚洲高清视频在线| 亚洲欧美在线视频观看| 欧美精品一区二区三区蜜臀| 正在播放一区二区| 一本到一区二区三区| 不卡一区二区在线| 九九视频精品免费| 毛片av一区二区| 五月婷婷综合在线| 亚洲国产日韩a在线播放| 国产精品伦理在线| 国产午夜亚洲精品不卡| 日韩亚洲欧美在线| 制服丝袜亚洲网站| 欧美怡红院视频| 色成年激情久久综合| av午夜一区麻豆| 色综合久久六月婷婷中文字幕| 国产v日产∨综合v精品视频| 国产精品原创巨作av| 蜜臀精品久久久久久蜜臀| 日韩精品久久理论片| 亚洲综合色网站| 亚洲一区二区三区视频在线播放| 亚洲女人****多毛耸耸8| 亚洲欧洲国产日本综合| 国产精品成人免费在线| 中文字幕一区二区不卡 | 久久久久99精品国产片| 欧美视频在线一区二区三区 | 6080午夜不卡| 一区二区激情视频| 91猫先生在线| 一区二区三国产精华液| 一本色道久久综合亚洲aⅴ蜜桃| 国产精品情趣视频| 欧美日韩一区小说| 日韩经典一区二区| 欧美性受xxxx黑人xyx性爽|