Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.470.162 Times

Java2Excel 1.3.1

  Date Added: July 20, 2010  |  Visits: 864

Java2Excel

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 downloads)



Java2Excel is a library that allows the generation of simple excel files using objects of type java.util.Collection. The current verison of Java2Excel contains a lot of limitations. You can only write the collection in excel files using an xml file as a descriptor of what properties you want in the excel file. In the current state, there is not much error checking. Example The following is an example of an xml file used to configure the output to excel. Please, note that this is a preliminary version and this file may not be compatible with future versions < ?xml version="1.0" encoding="ISO-8859-1"?> < !DOCTYPE java2excel PUBLIC "-//epere4/DTD Java2Excel mapping file//EN" "http://java2excel.sourceforge.net/dtd/java2excel-mapping.dtd"> < java2excel> < header> nothing for now < /header> < body> < properties> < property name="text"> < description> This is a text property. < /description> < /property> < property name="integerNumber" /> < property name="date" /> < property name="calendar" /> < property name="boolValue" /> < property name="internal.integerNumber" /> < /properties> < /body> < /java2excel> The name attributes are ognl expressions that are applied to each element in the collection. For example, integerNumber will be traduced to something like elementInCollection.getIntegerNumber() (with elementInCollection being the name of the variable for each element in the collection, of course). A more complex expresion like internal.integerNumber is equivalent to elementInCollection.getInternal().getIntegerNumber() (watch for NullPointerExceptions, here; there will be some protection for this in future releases) The following is the code used in ar.com.epere4.java2excel.excelWritter.ExcelWritterTest . The getMockCollection(5) method, not shown here, will just generate a java.util.Collection with 5 elements that will have all the properties requested by the XML file previously shown. Parser parser = new Parser(); Java2ExcelDtd java2ExcelDtd = parser.parse(this.getClass() .getResourceAsStream("/ar/com/epere4/java2excel/excelWritter/ExcelWritterTest.xml")); ExcelWritter excelWritter = new ExcelWritter(); excelWritter.addReport(getMockCollection(5), java2ExcelDtd); excelWritter.saveTo(new File("anExcel.xls")); Whats New in This Release: - The "Too many different cell formats" error message in Excel was fixed. - An id was added for properties. - If not specified, it will continue to be the expression, as before. - The setIncludeExtraLevel method was added to the BodyDtd interface. - Maven 2.0 is now used. - Maven 1.0 support should be considered deprecated. - It will be maintained only for code dependencies, but the site will be generated using Maven 2.0 from now on..

Requirements: No special requirements
Platforms: Linux
Keyword: Excel Excel Files File Generation Of Libraries Name Programming Property Simple Excel Using Will Be
Users rating: 0/10

License: Freeware Size: 235.52 KB
USER REVIEWS
More Reviews or Write Review


JAVA2EXCEL RELATED
Programming  -  x10 0.3.2
X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. X10 is designed and developed by IBM. While developed in close contact with the designers of X10 at IBM there...
8.1 MB  
Network & Internet  -  Flask-HTMLBuilder 0.4
Flask-HTMLBuilder is a Flask extension that allows flexible and easy Python-only generation of HTML snippets and full HTML documents using a robust syntax. For more advanced usage it provides a lean template inheritance system that is intertwined...
225.28 KB  
Libraries  -  LibRaw for Mac OS X, Linux 0.14.5
LibRaw is based on the source codes of the dcraw utility, where part of drawbacks have already been eliminated and part will be fixed in future. The users of the library are provided with API to be built into their software programs....
2.2 MB  
Libraries  -  LibRaw 0.14.5
LibRaw is based on the source codes of the dcraw utility, where part of drawbacks have already been eliminated and part will be fixed in future. The users of the library are provided with API to be built into their software programs....
2.2 MB  
Email  -  Simple Mail System 1.0
Besides sending simple mails, they will be able to send file attachments as well with their message.
10 KB  
Modules  -  Fat Free CRM Lead Form 0.2
Just add anywhere in your page or blog layout files and a simple contact form will be present. When users click the submit button, the data will automatically be entered into your Fat Free CRM. This plugin was created out of necessity for some...
10 KB  
Project Management  -  Fox Manager BPA Free 2.0
Fox Manager BPA Free allows you to create a single business model in order to regulate, document and optimize your enterprise. All elements will be presented in the form of visual charts, tables and graphs, and they will be interlinked and easily...
19.37 MB  
Libraries  -  OS2::SoftInstaller 0.09
OS2::SoftInstaller is a Perl extension for generation of daughter packages for IBMs Software Installer. SYNOPSIS use OS2::SoftInstaller; open PKG, >my.pkg; select PKG; make_pkg toplevel => ., zipfile => my.zip, packid => myzip, nozip => 0,...
12.29 KB  
Programming  -  GNU make 3.81
GNU make is a tool which controls the generation of executables and other non-source files of a program from the programs source files. Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the...
1.1 MB  
Shell & Desktop  -  BMP to XLS 1.0
BMP to XLS is a very unuseful file that converts bitmap images (*.bmp) to Microsoft Excel (97/2000/XP/2003) files (*.xls); just select the bitmap image and click on "Convert" button; the software will open an istance of Microsoft Excel that will...
528 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB