📄 entriesdaofactory.java
字号:
/*
*
* 开发时间:2004-08-20 at 05:40:07
*
* 作者:曹广鑫
*
* 网站:www.helpsoft.org 电子邮件:support@helpsoft.org
*/
package org.helpsoft.blog.factory;
import java.sql.Connection;
import org.helpsoft.blog.dao.*;
import org.helpsoft.blog.jdbc.*;
public class EntriesDaoFactory
{
private static final EntriesDaoImpl dao = new EntriesDaoImpl();
/**
* Method 'create'
*
* @return EntriesDao
*/
public static EntriesDao create()
{
return dao;
}
/**
* Method 'create'
*
* @param conn
* @return EntriesDao
*/
public static EntriesDao create(Connection conn)
{
return new EntriesDaoImpl( conn );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -