forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
433 B
20 lines
433 B
package com.fanruan.api.cal; |
|
|
|
import com.fr.script.ScriptFactory; |
|
|
|
import javax.script.ScriptEngine; |
|
|
|
/** |
|
* @author Kalven |
|
* @version 10.0 |
|
* Created by Kalven on 2019/8/30 |
|
*/ |
|
public class ScriptFactoryKit { |
|
/** |
|
* 单例模式,获取ScriptEngine对象 |
|
* @return ScriptEngine对象 |
|
*/ |
|
public static ScriptEngine newSingletonScriptEngine() { |
|
return ScriptFactory.newSingletonScriptEngine(); |
|
} |
|
}
|
|
|