xpfileinputstream.java

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

JAVA
41
字号
/* Class : XPFileInputStream     This is a cross platform version of the java.io.FileInputStream 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 XPFileInputStream extends FileInputStream {    public XPFileInputStream(String fileName) throws FileNotFoundException    {	super( new XPFile(fileName) );    }        public XPFileInputStream(XPFile xpfile) throws FileNotFoundException    {	super( xpfile );    }    public XPFileInputStream(File file) throws FileNotFoundException    {	super( file.getPath() );    }    public XPFileInputStream(FileDescriptor fd)    {	super( fd );    }}

⌨️ 快捷键说明

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