outputfile.java
来自「Java样例程序集合:2D」· Java 代码 · 共 23 行
JAVA
23 行
public class OutputFile extends File { static { try { System.loadLibrary("file"); } catch (UnsatisfiedLinkError e) { System.err.println("can't find your library"); System.exit(-1); } } protected int fd; public OutputFile(String path) { super(path); } public native boolean open(); public native void close(); public native int write(byte[] b, int len);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?