Java_ Folder splitting and merging
•
Java
I Idea:
1. Document cutting:
The class RandomAccessFile is used, in which the method seek can customize the reading location, read a paragraph, and write a paragraph through the byte output stream (I use bufferedoutstream)
2. File merge
Read multiple files and write one file. Bufferedinputstream is used for reading and bufferedoutputstream is used for output
Stream I use
II code:
1. Document cutting code
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码