|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.jfinal.config.JFinalConfig
cn.dreampie.web.Config
public abstract class Config
Created by wangrenhui on 14-1-3.
| 构造方法摘要 | |
|---|---|
Config()
|
|
| 方法摘要 | |
|---|---|
void |
afterJFinalStart()
Call back after JFinal start |
void |
beforeJFinalStop()
Call back before JFinal stop |
abstract void |
configConstant(com.jfinal.config.Constants me)
Config constant |
abstract void |
configHandler(com.jfinal.config.Handlers me)
Config handler |
abstract void |
configInterceptor(com.jfinal.config.Interceptors me)
Config interceptor applied to all actions. |
abstract void |
configPlugin(com.jfinal.config.Plugins me)
Config plugin |
abstract void |
configRoute(com.jfinal.config.Routes me)
Config route |
String |
getProperty(String key)
|
String |
getProperty(String key,
String defaultValue)
|
Boolean |
getPropertyToBoolean(String key)
|
Boolean |
getPropertyToBoolean(String key,
boolean defaultValue)
|
Integer |
getPropertyToInt(String key)
|
Integer |
getPropertyToInt(String key,
Integer defaultValue)
|
Properties |
loadPropertyFile(String file)
Load property file Example: loadPropertyFile("db_username_pass.txt"); |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Config()
| 方法详细信息 |
|---|
public abstract void configConstant(com.jfinal.config.Constants me)
com.jfinal.config.JFinalConfig 中的 configConstantpublic abstract void configRoute(com.jfinal.config.Routes me)
com.jfinal.config.JFinalConfig 中的 configRoutepublic abstract void configPlugin(com.jfinal.config.Plugins me)
com.jfinal.config.JFinalConfig 中的 configPluginpublic abstract void configInterceptor(com.jfinal.config.Interceptors me)
com.jfinal.config.JFinalConfig 中的 configInterceptorpublic abstract void configHandler(com.jfinal.config.Handlers me)
com.jfinal.config.JFinalConfig 中的 configHandlerpublic void afterJFinalStart()
com.jfinal.config.JFinalConfig 中的 afterJFinalStartpublic void beforeJFinalStop()
com.jfinal.config.JFinalConfig 中的 beforeJFinalStoppublic Properties loadPropertyFile(String file)
com.jfinal.config.JFinalConfig 中的 loadPropertyFilefile - the file in WEB-INF directory or resourcespublic String getProperty(String key)
com.jfinal.config.JFinalConfig 中的 getProperty
public String getProperty(String key,
String defaultValue)
com.jfinal.config.JFinalConfig 中的 getPropertypublic Integer getPropertyToInt(String key)
com.jfinal.config.JFinalConfig 中的 getPropertyToInt
public Integer getPropertyToInt(String key,
Integer defaultValue)
com.jfinal.config.JFinalConfig 中的 getPropertyToIntpublic Boolean getPropertyToBoolean(String key)
com.jfinal.config.JFinalConfig 中的 getPropertyToBoolean
public Boolean getPropertyToBoolean(String key,
boolean defaultValue)
com.jfinal.config.JFinalConfig 中的 getPropertyToBoolean
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||