Benchmarks

Bolita Argparser
Bolita Cglib
Bolita Kxml2
Bolita Javassist
Bolita Jtestcase
Bolita HTMLcleaner


  A r g p a r s e r

bola Description

ArgParser is a Java package, that can be used to specify command line options for a Java application. It has support for range checking, multiple option names (aliases), single word options, multiple values associated with an option, multiple option invocation, generating help information, custom argument parsing, and reading arguments from a file. The last feature is particularly useful and makes it easy to create ad-hoc configuration files for an application.

bola Source

HomePage: http://www.cs.ubc.ca/spider/lloyd/java/argparser.html

bola Some Notes

bola Arguments: arguments accepted by the program (see the main source code)

bola Main method must be in a class not associated to a package.

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/SimpleExample.class

bola Example arguments: -file $path$

bola $path$ should be any String

Nota Download

 C g l i b

bola Description

cglib is a powerful, high performance and quality Code Generation Library. It is used to extend JAVA classes and implements interfaces at runtime.

bola Source

HomePage http://cglib.sourceforge.net/

bola Some Notes

bola Arguments: none

bola Must import jar dependencies: $UnzipPath$/lib/*.jar

bola Main method must be in a class not associated to a package

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/KeySample.class

Nota Download

 K x m l 2

bola Description

kXML 2 is a small XML pull parser, specially designed for constrained environments such as Applets, Personal Java or MIDP devices.

bola Source

HomePage http://kobjects.org/kxml/index.php

bola Some Notes

bola Arguments: Path of a XML file

bola Must import jar dependencies: $UnzipPath$/lib/*.jar

bola Main method must be in a class not associated to a package

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/Roundtrip.class

bola Arguments: "$path$/$XMLfile$"

bola $path$ should be the unzip path.

bola $XMLfile should be "samples/simple.xml"

Nota Download

 

J a v a s s i s t

bola Description

Javassist (Java programming assistant) is a load-time reflective system for Java. It is a class library for editing bytecodes in Java; it enables Java programs to define a new class at runtime and to modify a class file before the JVM loads it. Unlike other similar systems, Javassist provides source-level abstraction; programmers can modify a class file without detailed knowledge of the Java bytecode. They do not have to even write an inserted bytecode sequence; Javassist instead can compile a fragment of source text on line (for example, just a single statement). This ease of use is a unique feature of Javassit against other tools.

bola Source

HomePage http://labs.jboss.com/javassist/

bola Some Notes

bola Arguments: none

bola Must import jar dependencies: $UnzipPath$/lib/*.jar

bola Main method must be in a class not associated to a package

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/Test.class

Nota Download

J t e s t c a s e

bola Description

JTestCase uses XML file to organize multi-testcase data and asserting conditions (action and expected result), and provides a set of easy-to-use methods to retrieve test cases out from XML, and asserts results against those expected ones in data file.

bola Source

HomePage http://jtestcase.sourceforge.net/

bola Some Notes

bola Arguments: none

bola Must import jar dependencies: $UnzipPath$/lib/*.jar

bola Main method must be in a class not associated to a package

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/CalculatorTest.class

Nota Download

 

  H T M L c l e a n e r

bola Description

HtmlCleaner is an open-source HTML parser written in Java. HTML found on Web is usually dirty, ill-formed and unsuitable for further processing. For any serious consumption of such documents, it is necessary to first clean up the mess and bring the order to tags, attributes and ordinary text. For the given HTML document, HtmlCleaner reorders individual elements and produces well-formed XML. By default, it follows similar rules that the most of web-browsers use in order to create document object model. However, user may provide custom tag and rule set for tag filtering and balancing.

bola Source

HomePage http://htmlcleaner.sourceforge.net/

bola Some Notes

bola Arguments: "$path$"

bola Must import jar dependencies: $UnzipPath$/lib/*.jar

bola Main method must be in a class not associated to a package

bola Example Notes

bola Main class to debug: $UnzipPath$/bin/Test.class

bola $path$ should be the unzip path.

Nota Download