0% found this document useful (0 votes)
25 views

Report Format JAVA1

The document discusses a Java project that aims to convert files between JSON and CSV formats. It provides details about the company where the project was completed, indexes various sections of the document, and includes code snippets and screenshots showing implementation of the file conversion using Java classes and libraries.

Uploaded by

vandanagmgcm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Report Format JAVA1

The document discusses a Java project that aims to convert files between JSON and CSV formats. It provides details about the company where the project was completed, indexes various sections of the document, and includes code snippets and screenshots showing implementation of the file conversion using Java classes and libraries.

Uploaded by

vandanagmgcm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Varcons Technologies Pvt Ltd

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI – 590018,

Karnataka INTERNSHIP REPORT

ON

“FILE CONVERSION”

BACHELOR OF ENGINEERING IN COMPUTER SCIENCE

Submitted by:

VANDANA GM

1VK21CS086

[email protected]

VAROCNS TECHNOLOGY PVT LTD

VIVEKANANDA INSTITUTE OF TECHNOLOGY


Accredited by janatha education society, Gudimavu, Kumbalagodu post,
Kengeri(H),Bengaluru
Karnataka 580074
Varcons Technologies Pvt Ltd

VIVEKANANDA INSTITUTE OF TECHNOLOGY


Department of computer science
Accredited by janatha education society, Gudimavu, Kumbalagodu post, Kengeri(H),Bengaluru
Karnataka 580074

CERTIFICATE

This is to certify that the Internship titled “FILE CONVERSION” carried out by
Ms. Vandana GM, a bonifide student of Vivekananda institute of technology, in
partial fulfillment of the award of Bachelor of Engineering. In COMPUTER
SCIENCE under Visvesvaraya Technological University, Belagavi, during the
year 2022-2023. It is certified that all correction/suggestions indicated have been
incorporated in the report.

The project report has been approved as it satisfies the academic requirements in
report of Internship prescribed for the course

Signature of Guide Signature of HOD Signature of Principal


Varcons Technologies Pvt Ltd

DDECLARATION

I, VANDANA GM, second year student of Computer science ,


Vivekananda institute of technology ,declare that the Internship has
been successfully completed, in Varcons Technology Pvt Ltd. This
report is submitted in partial fulfillment of the requirement for award of
Bachlor Degree in Computer Science and Engineering, during the
academic year 2022-2023.

Date : 17/11/2022
Place : Bangalore
USN : 1VK21CS086
NAME : VANDANA GM
MAIL ID : [email protected]
Varcons Technologies Pvt Ltd
Varcons Technologies Pvt Ltd

ACKNOWLEDGEMENT

While I was making this project, a lot of information that I found helped me in
chapter and I am glad that I was able to complete this project and was able to
understand many things.

It gave me an immense pleasure while doing this project because it was not just
a project but, a source to learn not just about chapter but also, I inculcated many
qualities like responsibility, punctuality, confidence and what not.

The journey of making this project was so nice and in all this my teachers who
supported me all the time, cleared my doubts and the parents support also
played a big role and my friends too helped me. I thank to all of them and wish
that they keep supporting me like this.

Doing work on time is something everyone needs to learn and through this
project I have improved my timing and also it made my thinking skills better.

A project is a bridge between theoretical and practical learning and with this
thinking I worked on the project and made it successful due to timely support
and efforts of all who helped me.

Once again thank you Sir/Ma'am to give me this project and to make me learn
so many things. I have no more valuable words to express my thanks, but my
heart is still full of favor received from every person.
Varcons Technologies Pvt Ltd

ABOUT THE C0MPANY:

Varcons Technologies Pvt Ltd is a digital service provider that aims to


provide software, designing and marketing solutions to individuals and
businesses. At VCT, we believe that service and quality is the key to
success.

We provide all kinds of technological and designing solutions from Billing


Software to Web Designs or any custom demand that you may have. Experience
the service like none other!

Some of our services include:

Development - We develop responsive, functional and super-fast websites. We


keep User Experience in mind while creating websites. A website should load
quickly and should be accessible even on a small view-port and slow internet
connection, We develop sophisticated customisable softwares using Java and
other programming Languages as per the clients needs’

Mobile Application - We offer a wide range of professional android, iOS &


Hybrid app development services for our global clients, from a start up to a
large enterprise.

Design - We offer professional Graphic design, Brochure design & Logo


design. We are experts in crafting visual content to convey the right message to
the customers.

Consultancy - We are here to provide you with expert advice on your design
and development requirement.

Videos - We create a polished professional video that impresses your audience


Varcons Technologies Pvt Ltd

INDEX

NO.S TITLE PAGE NO.

1 01
Brief overview on project

2 01
Advantages and challenges while
completing project

3 02
Software and hardware
requiement for project

4 Implementation of project 03-06

5 07
Conclusion

6 Bibliography 08-09
Project Name
CONVERSION

A BRIEF OVERVIEW ON THE PROJECT:

This Java project is a general-purpose, concurrent, class-based, object- oriented


computer programming language that is specifically designed to have as few
implementation dependencies as possible and it helps to learn how to define
and call the function in code.

It is intended to let application developers "write once, run anywhere"


(WORA), meaning that code that runs on one platform does not need to be
recompiled to run on another and from doing this project we get know about
class must allow the objects to cooperate during the execution.

2.ADVANTAGES AND CHALLENGES WHILE


COMPLETING THE PROJECT.

Advantages:

• Working together facilitates idea generation and creativity


• Teamwork releaves stress
• Improve our chances of achieving the desired result
• It was very useful
• Learning new things

Challenges:
• Inadequate skills
• Time Management (To create TO - Do List of the day )

PAGE NO:1
Project Name

SOFTWARE AND HARDWARE


REQUIRMENTS FOR JAVA PROJECT :

Hardware Requirement for Java :

Minimum hardware requirement to download Java on your Windows


operating system as follows:

• Minimum Windows 95 software


• IBM-compatible 486 system
• Hard Drive and Minimum of 8 MB memory
• A CD-ROM drive
• Mouse, keyboard and sound card

Software requirement for Java:

Nowadays, Java is supported by almost every operating system. Whether it is a


Windows, Macintosh and Unix all supports the Java application development.
So, you can download any of the operating system on your personal computer.
Here is the minimum requirement.
The software require for project includes package necessary to
successfully compile and build the program.

• Operating System
• Java SDK or JRE 1.6 or higher
• Java Servlet Container (Free Servlet Container available)
• Supported Database and library that supports the database
connection with Java.

PAGE NO:02
Project Name

IMPLEMENTATION OF THE PROJECT


with Screenshots:

Project Goals: The ultimate goal of our project is to convert the files from
JSON to CSV or from CSV to JSON using JAVA.

Project Requirements: Operating System


JAVA SDK or JRE 1.6 or higher
JAVA servlet container
Supported database and library that supports the
database connections with JAVA

Success Criteria: Project success is based on how efficiently the project is


managed while delivering on its goals and objectives. With
that said, there are four metrics by which our project success
is measured
• Scope: Achieving the intended results of the project.
• Schedule: Meeting the deadline.
• Team Satisfaction: Making sure the team feels satisfied
with the project.
• Quality: Achieving our project goals.

Implementation Timeline: Our implementation plan needs a clear


project timeline to be executed properly those are: -
• The start date of the project
• The project tasks are divided to the team members
• We the team members together overlap and link with each other activity
• Submission of the project

Team Roles and Responsibilities: The implementation plan won't


execute itself. We assigned some roles and responsibilities to our team members.

Implementation Plan Metrics: OKR is a goal setting technique used to


track progress as team move towards achieving objectives that are ambitious and
in alignment with the company vision
PAGE NO:03
Project Name

package testPackage;
import java.util.*;

import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.dataformat.csv.*;
import java.io.*;
import java.text.ParseException;

import org.json.simple.*;
import org.json.simple.parser.JSONParser;

import com.opencsv.CSVWriter;
class fileConversion{
public static void main(String args[]) throws ParseException, org.json.simple.parser.ParseException, IOException {
Scanner sc = new Scanner(System.in);
System.out.println("Enter:\n1:JSON to CSV convertion\n2:CSV to JSON convertion");
int ch = Integer.parseInt(sc.nextLine());

switch(ch) {
case 1:
JSONParser parser = new JSONParser();
System.out.println("Enter JSON file path: ");
String JSONFilePath = (String)sc.nextLine();

System.out.println("Enter path where you want to save your csv file with filename:\n(eg - 'c:\\new
folder\\sample.csv'): ");
String CSVfilePath = (String)sc.nextLine();
File file = new File(CSVfilePath);
FileWriter outputfile = new FileWriter(file);
CSVWriter writer = new CSVWriter(outputfile);
String[] header = { "album", "year", "US_peak_chart_post" };
writer.writeNext(header);

try {
JSONArray a = (JSONArray) parser.parse(new FileReader(JSONFilePath));
for(Object o:a) {
JSONObject obj = (JSONObject)o;
String year = (String) String.valueOf(obj.get("year"));
String US_peak_chart_post = (String) String.valueOf(obj.get("US_peak_chart_post"));
String album = (String) obj.get("album");
String[] data = {album,year,US_peak_chart_post};
writer.writeNext(data);
}
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
System.out.println("Json to csv file converted successfully...");
writer.close();
break;
case 2:
System.out.println("Enter CSV file path: ");

String CSVFilePath = (String)sc.nextLine();

System.out.println("Enter path where you want to save your json file with filename:\n(eg -
'c:\\new folder\\sample.json'): ");
String JsonFileSavePath = (String)sc.nextLine();

File csvfile = new File(CSVFilePath);


try {
CsvSchema csv = CsvSchema.emptySchema().withHeader();
CsvMapper csvMapper = new CsvMapper(); PAGE NO:04
Project Name

MappingIterator<Map<?, ?>> mappingIterator =


csvMapper.reader().forType(Map.class).with(csv).readValues(csvfile);
List<Map<?, ?>> list = mappingIterator.readAll();
// System.out.println(list);

File jsonFile = new File(JsonFileSavePath);


FileWriter outputfile2 = new FileWriter(jsonFile);
outputfile2.write(list.toString());
outputfile2.close();
System.out.println("Csv to json file converted successfully...");
}catch(Exception e) {
e.printStackTrace();
}
break;
default:
System.out.println("Invalid choice");
}
}
}

PAGE NO:05
Project Name

PAGE NO:06
Project Name

CONCLUSION:
Here, we have come to the end of the project on the topic "File conversion".
It was a wonderful and learning experience on this project. The joy of working
and the thrill involved while tackling the various problems and challenges. We
learnt many new things about the File conversion and for us while working on this
project.
Ans if we Ahad a chance to the upon this same coursework again using the team,
we are sure that everyone in the group would not change our overall approach.
We certainly would not have as many problems to deal with as all the mistakes
that we have made in this particular project have given us the necessary
experience
to improve on our team skills. Every member has realized their strengths and
weaknesses and would work to exploit each other's strengths and hide each other's
weaknesses.

This project has developed by thinking skills and more interest on this
subject.
A very special thanks to TIE and Varco’s Technologies Pvt Ltd for setting
such target for us. we enjoyed every bit of work, we put in to this project.
We do hope that our project will be interesting and maybe even knowledgeable.

PAGE NO:07
Project Name

BIBLIOGRAPHY:
• “Core Java™, Volume I--Fundamentals (8th Edition) “, by Cay S. Horstman, Prentice
Hall; 8
edition (April 18, 2008).

• “Effective Java (2nd Edition)”, by Addison-Wesley; 2 edition (May 28, 2008).

• “Java The Complete Reference, 8th Edition”, McGraw-Hill Osborne Media; 8


edition (June 22, 2011).

• A Programmer's Guide to Java SCJP Certification: A Comprehensive Primer


(3rd Edition), Addison-Wesley Professional; 3 edition (December 29, 2008).

• “More Java Pitfalls: 50 New Time-Saving Solutions and Workarounds”, by Michael


C. Davonta (Author), Kevin T. Smith (Author), Donald Avon olio (Author), W. Clay
Richardson (Author), Wiley; 1 edition (February 3, 2003).

• “Head First Servlets and JSP: Passing the Sun Certified Web Component
Developer Exam “, by Bryan Basham (Author), Kathy Sierra (Author), Bert Bates
(Author), O'Reilly Media; Second Edition (April 1, 2008).

• “Head First Design Patterns”, Elisabeth Freeman (Author), Eric Freeman (Author),
Bert Bates (Author), Kathy Sierra (Author), Elisabeth Robson (Author), O'Reilly
Media; 1 edition (November 1, 2004)

• “EJB 3 in Action”, Debut Panda (Author), Reza Rahman (Author), Derek Lane
(Author),
Manning Publications; 1 edition (April 16, 2007).

• “JBoss: A Developer's Notebook”, Norman Richards (Author), Sam Griffith (Author),


O'Reilly

• Enterprise Java™ Security: Building Secure J2EE™ Applications, Marco Pistoia


(Author), Nataraja Navaratnam (Author), Larry Coved (Author), Anthony Nadal in
(Author), Addison- Wesley Professional; 1 edition (February 27, 2004).

PAGE NO:08
Project Name

• “Java EE 6 Development with NetBeans 7”, Author: David Heffelfinger, Published:


June 2011, PACKT Publishing, UK. NetBeans IDE 7.0 Cookbook, Author: Rahwa
Danas, Published: May 2011, PACKT Publishing, UK

• “Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis,
Cocoon,
Internet Beans, Webwork”, Neal Ford (Author), Manning Publications (November 1,
2003).

• “Struts 2 in Action”, Don Brown (Author), Chad Michael Davis (Author), Scott Stanwick
(Author), Manning Publications; 1 edition (May 1, 2008).

• “Hibernate in Action (In Action series)”, Christian Bauer (Author), Gavin King
(Author), Manning Publications (August 1, 2004) “Web Services Essentials
(O'Reilly XML)”, Ethan Ceramic (Author), O'Reilly Media (February 2002).

• “Object-Oriented Software Construction (Book/CD-ROM) (2nd Edition)”, Bertrand


Meyer
(Author), Prentice Hall; 2nd edition (March 21, 2000).

• Java Black Book, Steve Holzer (Author), Steven Holzer (Author), Para glyph Press;
Second Edition (July 1, 2002)

PAGE NO:09

You might also like