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

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

Serving Software Downloads in 976 Categories, Downloaded 30.138.991 Times

Java2Excel 1.3.1

  Date Added: July 20, 2010  |  Visits: 606

Java2Excel

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 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
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  
Productivity  -  NameCardBank 1.0.0.0
Application: Name Card Bank Introduction Now you can keep all your name cards in your phone and flip through all of them easily with this application! Why use Name Card Bank? Very soon you will be able to store all your...
1024 KB  
Productivity  -  Section Id Calculator 1.1.0.0
Section Id Calculator for the Phantasy Star Online series of games. Input your name to see what section id will be assigned. See schtserv.com for more info. Update - Fixed max number of characters allowed in the textbox. Requirements:...
1024 KB  
Entertainment  -  Whos dat Pokemon 1.0.0.0
Be the pokemon master! Prove that you are a true pokemon fan! *This is only the first generation of pokemon! *Press enter Win all the badges and be an elite 4! Good luck and catch'em all! :D Requirements:...
28 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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