Skip to content

Using Java NIO properties it will split large file into subfiles and then merge those subfiles

License

Notifications You must be signed in to change notification settings

anjandebnath/SplitLargeFile

Repository files navigation

important links

File Reader & File Writter

FileReader and FileWriter are character based, they are intended for reading and writing text.

FileInputStream & FileOutputStream

FileInputStream reads the contents of a file as a stream of bytes.

FileOutputStream writes the contents of a file as a stream of bytes.

 When you write to a FileOutputStream, the data may get cached internally in memory and 
 written to disk at a later time. If you want to make sure that all data is written to disk 
 without having to close the FileOutputStream, you can call its flush() method.

Buffered-Reader vs Buffered-InputStream

The difference is the same as between reader and inputstream: one is character-based, another is byte-based. For example: reader normally supports encoding,

  • BufferedInputStream reads the data in the buffer as bytes by using InputStream.
  • BufferedReader reads the text but not as bytes and BufferedReader is efficient reading of characters,arrays and lines.

About

Using Java NIO properties it will split large file into subfiles and then merge those subfiles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages