Java File Copying


1. Semantics of File copying – FileInputStream and FileOutputStream

2. Using FileReader & FileWriter

3. Rereading a file – Using markSupported(), mark() & reset()

4. Skipping a few bytes in a file and reading

5. Reading data types using DataInputStream and DataOutputStream

6. Reading and writing sequentially and randomly – Using RandomAccessFile

7. Merging of files – SequenceInputStream

Java IO at a Glance

5 thoughts on “Java File Copying”

  1. Dear sir,using FileReader and writer Iam able to copy telugu language file in to other file but Iam not able to print the same on cmd promt using sop,is there any way to print.

Leave a Comment

Your email address will not be published.