How cordovat-dev/apireportes works
This Java library supports database-backed tabular reports, configurable formatting, console output, HTML construction, and downloadable-file listings; it also includes encryption utilities. The main reporting path is a caller-supplied SQL query executed through a JDBC connection, with rows and metadata rendered using configurable report formatting. HTML classes provide reusable document and element construction, while file-listing code builds HTML links from directory contents. Source excerpts establish only some relationships; isolated utilities are shown without inferred connections.
Main entry points: HtmlElement.java HTML element core · html HTML tag elements · ListaArchivosDescarga.java Download listing · Reporte.java JDBC reporter
Components 17
Tabular reporting
- JDBC reporter
src/com/apireportes/rep/Reporte.java - Report formatting
src/com/apireportes/rep/FormatoReporte.java - Console formatter
src/com/apireportes/cons/FormateadorConsola.java
HTML construction
- HTML document
src/com/apireportes/rep/html/Html.java - HTML element core
src/com/apireportes/rep/html/HtmlElement.java - HTML attributes
src/com/apireportes/rep/html/HtmlAttribute.java - HTML tables
src/com/apireportes/rep/html/HtmlTable.java - HTML lists
src/com/apireportes/rep/html/HtmlUL.java - Select options
src/com/apireportes/rep/html/HtmlOption.java - HTML tag elements
src/com/apireportes/rep/html
Download listings
- Download listing
src/com/apireportes/pre/ListaArchivosDescarga.java - Indirect listing
src/com/apireportes/pre/ListaArchivosDescargaIndirecta.java - Filename ordering
src/com/apireportes/pre/ComparatorNombreArchivos.java
Security utilities
- Encryption helper
src/com/apireportes/seg/DesEncrypter.java - Encryption key
src/com/apireportes/seg/Llave.java
Other components
- Report caller
- JDBC database
Connections 17
- Report caller → JDBC reporter: requests report
- JDBC reporter → JDBC database: executes SQL
src/com/apireportes/rep/Reporte.java - JDBC database → JDBC reporter: returns rows
src/com/apireportes/rep/Reporte.java - JDBC reporter → Report formatting: formats results
src/com/apireportes/rep/Reporte.java - HTML document → HTML element core: extends
src/com/apireportes/rep/html/Html.java - HTML document → HTML tag elements: assembles head and body
src/com/apireportes/rep/html/Html.java - HTML element core → HTML attributes: creates attributes
src/com/apireportes/rep/html/HtmlElement.java - HTML tables → HTML element core: extends
src/com/apireportes/rep/html/HtmlTable.java - HTML tables → HTML tag elements: creates table cells
src/com/apireportes/rep/html/HtmlTable.java - HTML lists → HTML element core: extends
src/com/apireportes/rep/html/HtmlUL.java - HTML lists → HTML tag elements: wraps list items
src/com/apireportes/rep/html/HtmlUL.java - Select options → HTML element core: extends
src/com/apireportes/rep/html/HtmlOption.java - HTML tag elements → HTML element core: extends
src/com/apireportes/rep/html/HtmlA.java - Download listing → Filename ordering: sorts files
src/com/apireportes/pre/ListaArchivosDescarga.java - Download listing → HTML lists: builds listing
src/com/apireportes/pre/ListaArchivosDescarga.java - Download listing → HTML tag elements: creates links and content
src/com/apireportes/pre/ListaArchivosDescarga.java - Indirect listing → Download listing: delegates to
src/com/apireportes/pre/ListaArchivosDescargaIndirecta.java