FileInputStream represents a file that might not be made of regular text.
FileInputStream表示一个不由常规文本构成的文件。
To set the marker for the XML column, open a FileInputStream, passing in the location of our XML file.
要为xml列设置标志符,需打开一个FileInputStream,并传递XML文件的位置。
When instantiating the FileInputStream, pass it a String describing the path to the Excel file to read.
在实例化FileInputStream时,向它传递一个String,用于描述要读取的Excel文件的路径。
It has a constructor that consumes a FileInputStream so that the task of recovering a certificate from a file is a straightforward one.
它是一个使用FileInputStream的构造器,因此从文件中检索证书的工作很简单。
Because Excel files contain binary data, use FileInputStream instead of the FileReader class, which reads files containing only text characters.
由于Excel文件包含二进制数据,所以这里使用FileInputStream而不是filereader类,后者读取只包含文本字符的文件。
There is nothing in the JDK to assist with this, so you'll need to create a helper method that opens a FileInputStream, USES a byte buffer, and throws the appropriate IOExceptions, etc.
JD K中没有干这事的,故而你需要创建一个辅助方法用于打开FileInputStream,使用字节缓存区,并抛出相关的IOExceptions,等等。
There is nothing in the JDK to assist with this, so you'll need to create a helper method that opens a FileInputStream, USES a byte buffer, and throws the appropriate IOExceptions, etc.
JD K中没有干这事的,故而你需要创建一个辅助方法用于打开FileInputStream,使用字节缓存区,并抛出相关的IOExceptions,等等。
应用推荐