📄 blobbean.java
字号:
package com.enterpriseweb.bean;
import java.awt.Image;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.sql.Blob;
public class BlobBean {
private Blob blob = null;
private Image img = null;
public void addBlob(String filename){
File binaryFile = new File(filename);
try{
FileInputStream fis = new FileInputStream(binaryFile);
}catch(FileNotFoundException e){
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -