From 101eadfe5df25ed6519c7bcde3fe1f22a4c673fc Mon Sep 17 00:00:00 2001 From: Amit Kumar Nandi <11887616+aamitn@users.noreply.github.com> Date: Sat, 17 Feb 2024 22:46:59 +0530 Subject: [PATCH] Initial Commit --- .idea/.gitignore | 8 --- .idea/dataSources.xml | 12 ---- .idea/encodings.xml | 7 --- .idea/misc.xml | 15 ----- .idea/sqldialects.xml | 9 --- .idea/uiDesigner.xml | 124 ------------------------------------------ Readme.md | 8 +-- 7 files changed, 4 insertions(+), 179 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/dataSources.xml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/sqldialects.xml delete mode 100644 .idea/uiDesigner.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml deleted file mode 100644 index ed480bf..0000000 --- a/.idea/dataSources.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - mysql.8 - true - com.mysql.cj.jdbc.Driver - jdbc:mysql://localhost:3306/bankdb - $ProjectFileDir$ - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index aa00ffa..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 20e4bc5..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml deleted file mode 100644 index a38ef6e..0000000 --- a/.idea/sqldialects.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml deleted file mode 100644 index 2b63946..0000000 --- a/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Readme.md b/Readme.md index fdee171..ad44358 100644 --- a/Readme.md +++ b/Readme.md @@ -30,7 +30,7 @@ This is a Java application for exporting data from a MySQL database to various f 1. Clone the repository: - git clone https://github.com/aamitn/db-exporter.git + git clone https://github.com/your-username/db-exporter.git 2.  Compile the code: @@ -54,7 +54,7 @@ Click "Export Table" to export the selected table to the chosen format. Example Factory Class Usage: -```plaintext +```java ExporterFactory exportFactory = new ExporterFactory(connection); Exportable exporter = exportFactory.getExporter("xml"); exporter.export("your_table_name", "output.xml"); @@ -66,7 +66,7 @@ The application employs a plugin architecture, allowing you to add new export fo Example for creating a new export format: -```plaintext +```java package org.nmpl.exporters; import org.nmpl.Exportable; public class NewFormatExporter implements Exportable { @@ -83,7 +83,7 @@ The application is designed for configurationless operation. The config.xml file Example config.xml: -```plaintext +```xml html