filecopy3.java
来自「JAVA SE6 全方位学习 朱仲杰 编著 机械工业出版社出版」· Java 代码 · 共 14 行
JAVA
14 行
import java.io.*;
import java.nio.*;
import java.nio.channels.*;
public class FileCopy3
{
public static void main(String args[]) throws Exception
{
FileInputStream fin = new FileInputStream(args[0]);
FileChannel fcin = fin.getChannel();
FileOutputStream fout = new FileOutputStream(args[1]);
FileChannel fcout = fout.getChannel();
//int size = 10000000; //
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?