📄 shtmlfactory.java
字号:
/*
* ShtmlFactory.java
*
* Created on 2007年3月27日, 上午8:43
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package News.ProcessData;
import java.util.*;
import java.io.*;
import javax.servlet.http.HttpServletRequest;
/**
*
* @author Owner
*/
public class ShtmlFactory {
FileInputStream in=null;
FileOutputStream out=null;
/** Creates a new instance of ShtmlFactory */
public ShtmlFactory() {
}
public boolean shtml(HttpServletRequest request)
{
String filename=request.getRealPath("")+"template.html";
try{
in=new FileInputStream(filename);
int len=in.available();
byte[] content=new byte[len];
}catch(IOException e){return false;}
return true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -