java遍历目录及子目录下的文件

java遍历目录及子目录下的文件 http://blog.csdn.net/suncheng_hong/article/details/1671632 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

Parasoft Jtest

Parasoft Jtest http://www.parasoft.com/jsp/products/jtest.jsp> Parasoft Jtest is an integrated Development Testing solution for automating a broad range of practices proven to improve development team productivity and software quality. It focuses on practices for validating Java code and applications, and it seamlessly integrates with Parasoft SOAtest to enable end-to-end functional and load testing of today’s complex, distributed applications and transactions. Jtest facilitates: Static analysis — static code analysis, data flow static analysis, and metrics analysis Peer code review process automation—preparation, notification, and tracking Unit testing — JUnit and Cactus test creation, execution, optimization, and maintenance Runtime error detection — race conditions, exceptions, resource & memory leaks, security attack vulnerabilities, and more This provides teams a practical way to prevent, expose, and correct errors in order to ensure that their Java code works as expected.

IDEA JavaDoc

IDEA JavaDoc http://www.intellij.org.cn/bbs/viewtopic.php?t=1817&start=0 在类或者函数前输入 /** 然后回车,就可以生成啦。 Javadoc Sync plugin可以快速生成所有的注释,使用稍微麻烦点,步骤如下: 打开设置面板,选择ins

JAVA读文本文件

JAVA读文本文件 一行一行的读~~ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 public static void main(String[] args) throws Exception { FileReader reader = new FileReader("D:\url.txt"); BufferedReader br = new BufferedReader(reader); String s1 = null; while((s1 = br.readLine()) != null) { System.out.println(s1); } br.close(); reader.close();

tcp, quic

tcp, quic, 流量复制 tcp, quic 1 2 3 4 5 6 7 8 9 10 11 12 13 14 @startuml [tcp client] as tc [tq] as tq note left: tcp server:2000 [qt] as qt note left: quic server: 2001 [tcp server] as ts note left: tcp server: 2002 tc --> tq tq --> qt qt --> ts @enduml t2q2t https://github.com/flano-yuki/t2q2t.git

SuperCSV

SuperCSV Super CSV是一个速度奇快、免费跨平台的 CVS 格式数据的读写库,可以方便的处理对象、Map、列表的读写操作,以及自动化的类型转换和数据检查功能。 1

ArrayBlockingQueue

ArrayBlockingQueue ArrayBlockingQueue 是一个基于数组的阻塞队列实现,此队列按 FIFO (先进先出) 原则对元素进行排序, 在 ArrayBlockingQueue 内部,维护了一个定长数组,以便缓存队列中的数据对象,这是一个

Java 反编译

Java 反编译 Java Decompiler “Java Decompiler”, 由 Pavel Kouznetsov开发,目前最新版本为0.2.5. 它由 C++开发,并且官方可以下载windows、linux和苹果Ma

ArrayList Capacity

ArrayList Capacity http://topic.csdn.net/t/20061223/10/5250896.html 任何一个 ArrayList 对象都有一个 capacity 属性,用来指示该 ArrayList 的容量,用"容量"这个词容易引起像本贴楼主那样的误解,我觉得用"

JAVA 正则表达式 分组与捕获

JAVA 正则表达式 分组与捕获 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Fenzhu { public static void main(String[] args) { Pattern p = Pattern.compile("(/d{3,5})([a-z]{2})"); String s = "123aa-34345bb-234cc-00"; Matcher m = p.matcher(s); while(m.find()) { System.out.println("m.group():"+m.group()); //打

java正则表达式的中的问号

java正则表达式的中的问号 java正则表达式中的 ? 是惰性匹配,具体的看下面的例子: 1 2 3 4 Pattern pattern = Pattern.compile("<.*>"); Matcher matcher =pattern.matcher(&

Java正则表达式

Java正则表达式 大写字母和数字组成的10个字符 1 2 private static final Pattern pattern = Pattern.compile("([A-Z]|[0-9]){10}"); pattern.matcher("abcd1234567").matches(); 3位数字 d{3} 众所周知,在程序开发中,难免会遇到需要匹配、查找、替换、判断字

Debian系统回收站无法清空解决办法

Debian系统回收站无法清空解决办法 Debian系统回收站无法清空: (1) 切换到root身份 su - (2) chown -R wiloon /home/wiloon/.local/share/Trash (3) 退出su权限 exit (4) chmod -R +w /home/wiloon/.local/share/Trash (5) 接下来就

pacakge-info.java

pacakge-info.java http://strong-life-126-com.iteye.com/blog/806246 翻看以前的笔记,看到一个特殊的java文件: pacakge-info.java,虽然有记录,但是不全,就尝试着追踪一下该问题, 分享一下流

QCad

QCad QCad QCad是开放源代码的LINUX CAD软件,它使用户能够在LINUX中快速、稳定、方便的使用CAD。使用QCad的用 QCAD界面户不用有