Code Monkey home page Code Monkey logo

datatranslator's Introduction

DataTranslator

This is a data translator application which translates the content of a text file based on the configuration provided in two other text files for column and rows respectively and writes the translated data into a new file.

In the package, there is a Data.txt file which holds the initial data. rowConfigFile and columnConfigFile files holds the configurations for row and columns respectively. Once the translation process finishes a new file named processedFile.txt gets generated with the updated data.

Running the main method in the Main class will start the application and run the translation process. User can update the rowConfigFile to change the row id. Only the row id mentioned in the file will be available in the processed file. Similarly, user can update the columnConfigFile to update the column title and the columns in the result file.

Test

For test purpose, a test.txt (test data), testColumnConfig.txt (test column configuration) and testIdConfig.txt (test row configuration) have been added in the package.

To run the tests, please open the test package and run the methods in the test classes.

datatranslator's People

Contributors

sawan07 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.