from:http://emma.sourceforge.net/EMMA:A free Java Code Coverage tool
Code coverage for FREE:A basic freedom?
Until recently, the world's Java development had been plagued by an absurd Discrepancy:java develop
PMD is an excellent tool for code checking of Java programs. It can check whether the Java code contains unused variables, whether they contain empty fetch blocks, whether they contain unnecessary objects, and so on.But in the course of use, you will find that there are a lo
Java Tour (Fri)--this,static, keyword, main function, encapsulating tool class, generating Javadoc manual, static code block
Have a lot of weekend, continue to study
One. this keyword
Used to distinguish between local variables and member variables with the same name
Features of thisThis represents the object of this class
It's in o
Recently Learning MyBatis official documents, see the "Project Document" section has a lot of content has not seen, make a note, understand.
The introduction of the encyclopedia, I can even understand, then do not find other places of information. JDepend an open source code that can be used toExcellent tool for evaluating Java program Quality (definition
Use of Java Standard log tool log4j (source code attached)
Source code Download
Log4j is the de facto Java standard logging tool. Is it possible to use log4j to a certain extent, it is a standard to measure whether a developer is
Write Java code for 5 years, the common development Framework is STRUTS2 + spring + mybatis back-end database is MySQL, according to the usual accumulation of writing a semi-automatic code generation tool, the use of tools after the development of a significant increase in efficiency. Here today to share a welcome to s
Original: Java implementation of the picture Zoom compression cropping tool! Looking for a long time, the market can no longer find a better than its scaling effect of the codeSource code: Http://www.zuidaima.com/share/1550463380458496.htmPure Java implementation of Picture Zoom compression cropping
can also generate such a qrcode.
2. Using barcode4j to generate barcodes and two-dimensional codes
barcode4j URL: http://sourceforge.net/projects/barcode4j/
BARCODE4J is a two-dimensional code generation algorithm using Datamatrix to support QR algorithms.
Datamatrix is the standard of Europe and America, QR is the standard of Japan.
BARCODE4J is generally produced in rectangular form.
such as: 88777alec000yan
This article is written very cl
The following Java generated two-dimensional code tool class, you can choose to generate files, or directly in the page generation
Import Java.awt.image.BufferedImage;
Import Java.io.File;
Import java.io.IOException;
Import Java.nio.file.FileSystems;
Import Java.util.HashMap;
Import Java.util.Map;
Import Javax.imageio.ImageIO;
Import Javax.servlet.http.HttpS
We will introduce you to an open-source tool astyle, which supports C/C ++, C #, Java, and other languages and is formatted according to different styles.Code, Also known as beautification code.The Code formatted with this tool is almost the same as my own style. I like this tool
Recently Learning Java NIO Network development knowledge, wrote a Java NIO based multiplayer online chat tool training practiced hand. Source code open on the coding:Https://coding.net/u/hust_wsh/p/MyChat/git , the development environment is Ubuntu14.04+eclipse mars+jdk1.8.To write a multi-person online chat
)) { Throw NewIOException ("Could not write an image of format" +format); } } //generate a QR code picture content: Contents, url: Build Path Public Staticstring Genqrcode (String content,string URL) {//Verify that there are folderscreatedir.createdir (URL); String filename=NULL; //picture format of QR codeString format = "png"; Hashtable hints=NewHashtable (); //the encoding used for the contentHints.put (Encodehinttype.character_s
This seat has previously published an articleArticle: Log cutting and cleaning tools implemented in Java are heavily reproduced on the Network (although most of them do not indicate the source of the original article ^_^ ). There are a lot of official comments to this seat, hoping to provide toolsSource code. Therefore, this seat does not dare to copy itself, and now the sourceCodeShare it for your study an
There is a Wsimport.exe tool in the bin directory of the JDK that allows you to generate Java client code based on the WSDL address.Common commands are as follows:
wsimport-keep-d D:\-S d:\src-p com.map-verbose http://192.168.1.33:9003/Map/V2?wsdl
-keep: Whether to generate Java source files-d: Specify Outp
/////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////
This project is tentatively named miniproto1.0.
Limited compatible PROTOBUF syntax rules and coding rules. Includes coding rules for protobuf2.0 and 3.0.
Implement serialization and deserialization of proto structure.
Code generation tools, need boost library support (mainly using the Spirit library to do text parsing), I use the boos
= "Class Name", method = "method name", location = @ location (kind. Return ))Public static void onreturn (){Println ("method end! ");Println (strcat ("time taken ms", STR (timemillis ()-starttime )));}}
With btrace, You can dynamically monitor the execution time of a certain method in any currently running Java program. The method for executing the above Code is as follows (JDK 6 + ):Btrace [pid] methodre
/**get up n hours on the hour of day *@paramDate *@return */ Public StaticString getlasthourtime (date date,intN) {Calendar CA=calendar.getinstance (); Ca.set (Calendar.minute,0); Ca.set (Calendar.second,0); SimpleDateFormat SDF=NewSimpleDateFormat ("Yyyymmddhhmmss"); Ca.set (Calendar.hour_of_day, Ca.get (calendar.hour_of_day)-N); Date=Ca.gettime (); returnSdf.format (date); } /**get the hourly hour of the current time *@paramDate *@return */ Public StaticString getcurrhourtim
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.