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

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

?? beans.java

?? kaffe Java 解釋器語言,源碼,Java的子集系統(tǒng),開放源代碼
?? JAVA
字號:
/* java.beans.Beans   Copyright (C) 1998, 1999 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., 59 Temple Place, Suite 330, Boston, MA02111-1307 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.beans;import gnu.java.io.ClassLoaderObjectInputStream;import java.io.InputStream;import java.io.IOException;import java.io.ObjectInputStream;import java.applet.Applet;/** * <code>Beans</code> provides some helper methods that allow the basic * operations of Bean-ness. * * @author John Keiser * @since 1.1 * @version 1.1.0, 29 Jul 1998 * */public class Beans{  static boolean designTime = false;  static boolean guiAvailable = true;  /**   * Once again, we have a java.beans class with only   * static methods that can be instantiated.  When   * will the madness end? :)   */  public Beans()  {    // Do nothing here.  }  /**   * Allows you to instantiate a Bean.  This method takes   * a ClassLoader from which to read the Bean and the   * name of the Bean.<P>   *   * The Bean name should be a dotted name, like a class.   * It can represent several things.  Beans will search   * for the Bean using the name like this:<P>   * <OL>   * <LI>Searches for a serialized instance of the Bean   * using getResource(), mangling the Bean name by   * replacing the dots with slashes and appending .ser   * (for example, gnu.beans.BlahDeBlah would cause   * Beans to search for gnu/beans/BlahDeBlah.ser using   * getResource()).</LI>   * <LI>Searches for the Bean class using the beanName,   * and then instantiates it with the no-arg constructor.   * At that point, if it is an Applet, it provides it   * with AppletContext and AppletStub, and then calls   * init().</LI>   * </OL>   *   * @param cl the ClassLoader to use, or <CODE>null</CODE>   *        to use the default ClassLoader.   * @param beanName the name of the Bean.   *   * @return the Bean.   *   * @XXX   */  public static Object instantiate (ClassLoader cl, String beanName)    throws IOException, ClassNotFoundException  {    Object bean;    InputStream serStream;        if (cl == null)      {        serStream = ClassLoader.getSystemResourceAsStream          (beanName.replace ('.','/')+".ser");      }    else      {        serStream = cl.getResourceAsStream (beanName.replace ('.', '/')                                            + ".ser");      }        if (serStream != null)      {        if(cl == null)          {            ObjectInputStream ois = new ObjectInputStream(serStream);            bean = ois.readObject();          }        else          {            ClassLoaderObjectInputStream ois =              new ClassLoaderObjectInputStream (serStream, cl);            bean = ois.readObject();          }      }    else if(cl == null)      {        Class beanClass = Class.forName(beanName);        try          {            bean = beanClass.newInstance();          }        catch(IllegalAccessException E)          {            bean = null;          }        catch(InstantiationException E)          {            bean = null;          }      }    else      {        Class beanClass = cl.loadClass(beanName);        try          {            bean = beanClass.newInstance();          }        catch(IllegalAccessException E)          {            bean = null;          }        catch(InstantiationException E)          {            bean = null;          }      }    if(bean instanceof Applet)      {        Applet a = (Applet)bean;        //a.setAppletContext(???);        //a.setStub(???);        if(serStream == null)          {            a.init();          }      }    return bean;  }  /**   * Get the Bean as a different class type.   * This should be used instead of casting to get a new   * type view of a Bean, because in the future there may   * be new types of Bean, even Beans spanning multiple   * Objects.   *   * @param bean the Bean to cast.   * @param newClass the Class to cast it to.   *   * @return the Bean as a new view, or if the operation   *         could not be performed, the Bean itself.   */  public static Object getInstanceOf(Object bean, Class newClass)  {    return bean;  }  /**   * Determine whether the Bean can be cast to a different   * class type.   * This should be used instead of instanceof to determine   * a Bean's castability, because in the future there may   * be new types of Bean, even Beans spanning multiple   * Objects.   *   * @param bean the Bean to cast.   * @param newClass the Class to cast it to.   *   * @return whether the Bean can be cast to the class type   *         in question.   */  public static boolean isInstanceOf(Object bean, Class newBeanClass)  {    return newBeanClass.isInstance(bean);  }  /**   * Find out whether the GUI is available to use.   * Defaults to true.   *   * @return whether the GUI is available to use.   */  public static boolean isGuiAvailable()  {    return guiAvailable;  }  /**   * Find out whether it is design time.  Design time means   * we are in a RAD tool.   * Defaults to false.   *   * @return whether it is design time.   */  public static boolean isDesignTime()  {    return designTime;  }  /**   * Set whether the GUI is available to use.   * @param guiAvailable whether the GUI is available to use.   */  public static void setGuiAvailable(boolean guiAvailable)    throws SecurityException  {    Beans.guiAvailable = guiAvailable;  }  /**   * Set whether it is design time.  Design time means we   * are in a RAD tool.   *   * @param designTime whether it is design time.   */  public static void setDesignTime(boolean designTime)    throws SecurityException  {    Beans.designTime = designTime;  }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品一区国产麻豆| va亚洲va日韩不卡在线观看| 在线观看视频91| 亚洲欧美日韩国产手机在线| 色激情天天射综合网| 亚洲一区二区三区爽爽爽爽爽| 91久久久免费一区二区| 亚洲国产人成综合网站| 欧美一区二区日韩| 国产一区二区三区日韩| 国产精品久久网站| 欧美亚洲动漫精品| 麻豆国产一区二区| 中文字幕精品一区二区精品绿巨人 | 亚洲777理论| 日韩欧美一卡二卡| 成人午夜av在线| 亚洲一区二区在线免费观看视频| 欧美探花视频资源| 精品无码三级在线观看视频| 亚洲国产高清不卡| 欧美日韩亚洲综合一区| 国产一区二区女| 一区二区三区免费| 久久综合久色欧美综合狠狠| 99久久精品一区| 日韩—二三区免费观看av| 久久久噜噜噜久久中文字幕色伊伊 | 久久精品国产色蜜蜜麻豆| 久久精品在这里| 欧美中文字幕不卡| 国产一区二区三区在线看麻豆| 成人欧美一区二区三区黑人麻豆 | 欧美高清视频一二三区| 国产suv精品一区二区三区| 亚洲欧美激情一区二区| 日韩欧美中文字幕制服| 91网站最新网址| 久久国产剧场电影| 亚洲精品成人a在线观看| 精品国产乱码久久久久久蜜臀 | 欧美乱熟臀69xxxxxx| 国产精品99精品久久免费| 亚洲最新视频在线观看| 国产视频一区二区在线| 欧美丰满一区二区免费视频| av中文字幕不卡| 久久99精品国产91久久来源| 亚洲一区二区中文在线| 日本一区二区不卡视频| 日韩一区二区三区视频在线观看| 91丨porny丨最新| 国产老肥熟一区二区三区| 天天色天天操综合| 一区二区三区日韩欧美精品| 国产亲近乱来精品视频| 精品国产一区二区国模嫣然| 欧美日韩久久一区二区| 一本色道久久综合亚洲aⅴ蜜桃| 国内精品国产成人国产三级粉色| 日日夜夜免费精品| 亚洲综合激情小说| 成人免费在线播放视频| 国产三级一区二区| 2020国产成人综合网| 日韩精品在线一区二区| 91精品麻豆日日躁夜夜躁| 欧美日韩日日摸| 91国内精品野花午夜精品| 成人免费看黄yyy456| 国产精品亚洲成人| 国产伦理精品不卡| 国产在线精品一区二区三区不卡 | 免费不卡在线视频| 日韩av在线发布| 日日欢夜夜爽一区| 日韩成人免费看| 日韩高清在线电影| 日韩av不卡一区二区| 日韩vs国产vs欧美| 奇米影视一区二区三区| 蜜桃精品视频在线观看| 美日韩黄色大片| 捆绑紧缚一区二区三区视频| 久久99精品国产麻豆婷婷| 激情都市一区二区| 国产成人午夜高潮毛片| 成人黄色一级视频| 91麻豆高清视频| 91国偷自产一区二区三区观看 | 精品一区二区在线视频| 黑人巨大精品欧美黑白配亚洲| 蜜臀av亚洲一区中文字幕| 激情综合色综合久久| 国产精品羞羞答答xxdd| 99精品视频在线播放观看| 色婷婷综合久久久中文一区二区| 91国产福利在线| 欧美一区二区视频观看视频| 日韩精品中文字幕一区| 中文字幕精品一区二区精品绿巨人| 国产精品国产自产拍高清av王其| 伊人性伊人情综合网| 亚洲va国产va欧美va观看| 麻豆精品久久久| 成人性视频免费网站| 欧美性生活久久| 日韩精品中文字幕在线一区| 国产精品区一区二区三区| 亚洲乱码中文字幕| 蜜臀av性久久久久蜜臀aⅴ| 国产精品1区2区3区| 色综合色狠狠天天综合色| 91精品国产91久久综合桃花| 国产视频一区在线播放| 亚洲综合色区另类av| 激情深爱一区二区| 91麻豆swag| 久久综合色婷婷| 亚洲精品成人精品456| 精品无人码麻豆乱码1区2区| 色香蕉成人二区免费| 精品免费99久久| 一区二区三区欧美| 国内精品视频一区二区三区八戒| 91官网在线免费观看| 久久五月婷婷丁香社区| 亚洲综合在线第一页| 国产在线精品一区二区| 精品视频一区二区三区免费| 久久久高清一区二区三区| 亚洲福利视频导航| 国产91精品在线观看| 欧美一区二区日韩一区二区| 亚洲欧洲色图综合| 激情丁香综合五月| 在线播放日韩导航| 一区二区三区在线免费播放| 国产v日产∨综合v精品视频| 91精品久久久久久久99蜜桃| 亚洲视频免费在线| 国产成人夜色高潮福利影视| 91精品久久久久久久久99蜜臂| 亚洲免费av在线| 国产成人免费高清| 欧美变态tickle挠乳网站| 亚洲成人av中文| 在线欧美一区二区| 国产精品色一区二区三区| 久久国产精品区| 制服丝袜亚洲精品中文字幕| 亚洲一区自拍偷拍| 色狠狠一区二区| 亚洲欧洲制服丝袜| 91麻豆精品一区二区三区| 国产精品美日韩| 成人丝袜18视频在线观看| 欧美精品一区二区三区四区| 免费观看在线色综合| 欧美日高清视频| 亚洲小说春色综合另类电影| 91激情五月电影| 一区二区免费在线| 91国产免费看| 亚洲一区二区中文在线| 91国产成人在线| 亚洲一区二三区| 欧美人成免费网站| 亚洲第一福利视频在线| 欧美日韩一区在线| 视频一区二区欧美| 日韩情涩欧美日韩视频| 久久国产尿小便嘘嘘尿| 精品国产三级a在线观看| 久久99精品久久久| 久久久国产精品不卡| 丰满亚洲少妇av| 中文字幕中文字幕一区| 91麻豆视频网站| 亚洲图片欧美色图| 4438x亚洲最大成人网| 美腿丝袜亚洲综合| 欧美国产综合一区二区| eeuss影院一区二区三区 | 91碰在线视频| 亚洲一区二区三区四区在线观看 | 亚洲视频你懂的| 精品视频色一区| 毛片av一区二区| 国产欧美日韩在线| 色婷婷亚洲精品| 日产国产高清一区二区三区 | 激情成人综合网| 中文乱码免费一区二区| 99精品视频一区| 午夜电影久久久| 久久免费电影网| 91老师国产黑色丝袜在线| 日韩专区欧美专区| 国产清纯美女被跳蛋高潮一区二区久久w |