⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shtmlfactory.java

📁 新闻发布系统
💻 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 + -