摘要:
package merge; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.nio.file.Files; import java.nio. 阅读全文
摘要:
package back; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStreamReader; import 阅读全文
摘要:
package code; import java.io.FileOutputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; 阅读全文
摘要:
package split; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.RandomAccessFile; impo 阅读全文
摘要:
Map.Entry<Byte, Integer> tmp = new HashMap<>(); for (Map.Entry<Byte, Integer> tmp : map.entrySet()) { System.out.println("[key="+tmp.getKey()+"]"+"[va 阅读全文
摘要:
Path path = Paths.get(); byte[] bytes = Files.readAllBytes(path); 阅读全文
摘要:
RandomAccessFile randomAccessFile = new RandomAccessFile("C:\\Users\\Administrator\\Desktop\\test.pdf","r"); int point = 0;//最开始 long last = 0;//最后 lo 阅读全文
摘要:
byte[] buffer = new byte[1024 * 1024];//缓冲区 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream( new FileOutputStream( new File() ) ) 阅读全文