`
文章列表
RFC 855----Telnet选项说明书 组织:中国互动出版网(http://www.china-pub.com/)RFC文档中文翻译计划(http://www.china-pub.com/compters/emook/aboutemook.htm)E-mail:ouyang@china-pub.com译者:   (  )译文发布时间:2001-10-23版权:本中文翻译文档版权归中国互动出版网所有。可以用于非商业用途自由转载,但必须保留本文档的翻译及版权信息。Network Working Group                                     ...
http://space.itpub.net/13873293/viewspace-600773 1.用户的安全任务快捷管理# smit security   Users   Groups   passwords   Login Controls   Roles2.安全相关记录文件/etc/motd       公告文件,登录显示/etc/passwd     存放用户名和ID/etc/security/passwd  ...
Property设置属性的7种方法: 1、设置name和value属性值,比如:<property name="srcdir" value="${basedir}/src"/>2、设置name和refid属性值,比如:<property name="srcpath" refid="dao.compile.classpath"/>,其中    dao.compile.classpath在别的地方定义。3、设置name和location属性值,比如:<property name ...
初次见到这两个单词并没有什么特别的感觉,但是时间长了,却发现书上一会儿用override,一会儿又用overload,搞得我的迷迷糊。于是就做了个总结,希望能对和我一样对这两个概念模糊不清的网友有一个帮助。override可以翻译为覆盖,从字面就可以知道,它是覆盖了一个方法并且对其重写,以求达到不同的作用。对我们来说最熟悉的覆盖就是对接口方法的实现,在接口中一般只是对方法进行了声明,而我们在实现时,就需要实现接口声明的所有方法。除了这个典型的用法以外,我们在继承中也可能会在子类覆盖父类中的方法。在覆盖要注意以下的几点:1、覆盖的方法的标志必须要和被覆盖的方法的标志完全匹配,才能达到覆盖的效果;2 ...
首先,存在一些从来不能使用动态绑定的情况。 静态方法:不管这个办法怎么被调用 最终方法 私有方法(因为它们只能从类的内部被调用,因此是隐式的最终方法) 动态绑定意味着:目前正在调用的方法正是最适用于要 ...
package treeroot.reflect; import java.util.List; public interface Node { int CLASS=0x10000; int INTERFACE=0x01000; int CONSTRUCTOR=0x00100; int METHOD=0x00010; int FIELD=0x00001; void setChilds(List childs); boolean hasChild(); List getChilds(); String getName(); String getDe ...
Java NIO 拷贝文件 实现方式一:   FileInputStream fis = null; FileOutputStream fos = null; try { fis = new FileInputStream("c:/ntldr"); fos = new FileOutputStream("c:/ntldr.bak"); FileChannel fic = fis.getChannel(); FileChannel foc = fos.getChannel(); ByteBuffe ...
标记、位置、限制和容量值遵守以下不变式: 0 <= 标记 <= 位置 <= 限制 <= 容量       位置 限制 容量 标记   position limit capcity mark mark / /
1.FileDialog使用方法:  FileDialog fd=new FileDialog(new Frame(),"测试",FileDialog.LOAD); FilenameFilter ff=new FilenameFilter(){   public boolean accept(File dir, String name) {    if (name.endsWith("jpg")){     return true;    }    return false;   }  };  fd.setFilenameFilter(ff); fd.s ...
http://blog.csdn.net/zhyhongyuan/archive/2007/01/29/1497149.aspx   UML关系表示方法收藏 常见的关系有:一般化关系(Generalization),关联关系(Association),聚合关系(Aggregation),合成关系(Composition),依赖关系(Dependency)。       其 ...
介绍两款用于Web原型设计的工具:Axure RP Pro 和 iRise Studio。   Axure RP Pro   官网:[url]http://www.axure.com/[/url]   Axure RP enables application designers to create wireframes, flow diagrams, prototypes, and specifications for applications and web sites faster and easier than creating static mockups with the ...
【转】识别用例之间的关系 用例间的三种关系:(1)扩展(extends):用例B extends 用例A,表示用例B是用例A在某种特定情况下可能会出现的扩展用例。例如:老王进城办事,2小时就可以回去,在这2小时内内急时就会去上厕所。 ...
http://topic.csdn.net/t/20050904/13/4248614.html dt.jar、tools.jar、rt.jar这几个包的作用 dt.jar是关于运行环境的类库,主要是swing的包   tools.jar是关于一些工具的类库   rt.jar包含了jdk的基础类库,也就是你在java   doc里面看到的所有的类的class文件   编译和运行需要的都是toos.jar里面的类     分别是     sun.tools.java.*;     sun.tols.javac.*;
http://bbs.tech.ccidnet.com/read.php?tid=663217   Java在需要使用类别的时候,才会将类别加载,Java的类别载入是由类别载入器(Class loader)来达到的,预设上,在程序启动之后,主要会有三个类别加载器:Bootstrap Loader、ExtClassLoader与AppClassLoader。Bootstrap Loader是由C++撰写而成,预设上它负责搜寻JRE所在目录的classes或lib目录下的.jar档案中(例如rt.jar)是否有指定的类别并加载(实际上是由系统参数sun.boot.class.path指定);预设 ...
http://www.blogjava.net/lihuaxajh/articles/94371.html 我什么时候应该使用 Thread.getContextClassLoader()? 这个问题经常出现在编写框架代码 , 需要动态加载很多类和资源的时候 . 通常当你需要动态加载资源的时候 , 你至少有三个 ClassLoader 可以选择 : ²        系统类加载器或叫作应用类加载器 (system classloader or application classloader) ²        当前类加载器 ²        当前线程类加载器 上面的问题 ...
Global site tag (gtag.js) - Google Analytics