Javappp

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Annexure I

MICRO–PROJECT PROPOSAL

“Copy the content of one file


to another file”
SUBMITTED BY
04.Yashraj Arun

24.Harshal Gavit

43 .Mahajan krushna

55. Sonawane Dhiraj

68.Bhalekar Somnath

DEPARTMENT OF COMPUTER ENGINEERING GOVERNMENT


POLYTECHNIC, AHMEDNAGAR (2024)

GUIDED BY

Mrs.S.S.Aage
Department in Computer Technology and Engineering Page 1
Annexure I

1.0 Rationale:-

1. File Handling: The program reads from one file and writes to another
file in Java.

2. Buffered Streams: It uses `BufferedReader` to read from the source


file and `BufferedWriter` to write to the destination file. These classes
provide efficient reading and writing operations.

3. Copying Content: It copies the content line by line from the source file
to the destination file.

4. Exception Handling: It handles `IOException` to deal with any errors


that may occur during file operations, like file not found or IO errors.

5. File Paths: You need to specify the paths of the source and
destination files in the program.

6. Success Message: After successful copy, it prints a confirmation


message.

7. Main Method: The `main` method serves as the entry point of the
program.

2.0 Course Outcomes Integrated:-


a. Develop programs using Object Oriented methodology in Java.
b. Implement Exception Handling.
c. Develop programs for handling 1/0 and file streams.

Department in Computer Technology and Engineering Page 2


Annexure I

3.0 Proposed Methodology:-


.
Specify File Paths: Define the paths for the source file (to copy from) and
the destination file (to copy to).
.
.
Open Streams: Use FileInputStream to read from the source file and
FileOutputStream to write to the destination file.
.
.
Read and Write Content: Read from the source file and write to the
destination file in chunks, improving performance.
.
.
Close Streams: Properly close input and output streams to release
resources, preferably using try-with-resources.
.
.
Handle Exceptions: Catch and handle any exceptions that may occur
during file operations, such as FileNotFoundException or IOException.
.

Department in Computer Technology and Engineering Page 3


Annexure I

4.0 Action Plan:-

Plan Start Plan Finish Name of Responsible Team


Sr. No. Details of Activity Members
Date Date
1 Formation of All members
Group &
Selection of Topic
2 Submission of All members
Proposed Plan
3 Creating design for project All members

4 Coding for project All members


5 Testing All members
6 Demonstration of project All members

7 Submission of final report All members

5.0 Resources Required :-

Name of Quantity
Sr. No. Specification
Resources/Material
1 Desktop PC Intel I-5 Windows 11 1
Pro
2 Microsoft Word Documentation 1
3 jdk 21.0.0 1

NAME OF SUBJECT TEACHER


Mrs.S.S.Aage

Department in Computer Technology and Engineering Page 4

You might also like