xpfileoutputstream.java

来自「kaffe是一个java虚拟机的源代码。里面包含了一些java例程和标准的jav」· Java 代码 · 共 44 行

JAVA
44
字号
/* Class : XPFileOutputStream     This is a cross platform version of the java.io.FileOutputStream class.  It uses the XPFile class to do cross platform file name conversion.  Copyright : Moses DeJong, dejong@cs.umn.edu, 1998.  Source code licensed under the GPL.  You can get a copy of the license from www.gnu.org.  This code is intended for use in the Kaffe project but you can use  it in other projects as long as you follow the license rules.*/package kaffe.tools.jar;import java.io.*;public class XPFileOutputStream extends FileOutputStream {    public XPFileOutputStream(String fileName)	throws IOException, FileNotFoundException    {	super( new XPFile(fileName) );    }        public XPFileOutputStream(XPFile xpfile)	throws IOException, FileNotFoundException    {	super( xpfile );    }    public XPFileOutputStream(File file)	throws IOException, FileNotFoundException    {	super( file.getPath() );    }    public XPFileOutputStream(FileDescriptor fd)    {	super( fd );    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?