类 DefaultNameStrategy
java.lang.Object
com.obermuhlner.scriptengine.java.name.DefaultNameStrategy
- 所有已实现的接口:
NameStrategy
A
NameStrategy that scans the Java script to determine the package name and class name defined in the script.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getFullName(String script) Returns the fully qualified name of the Java class in the specified script.
-
字段详细资料
-
NAME_PATTERN
-
PACKAGE_PATTERN
-
-
构造器详细资料
-
DefaultNameStrategy
public DefaultNameStrategy()
-
-
方法详细资料
-
getFullName
从接口复制的说明:NameStrategyReturns the fully qualified name of the Java class in the specified script.- 指定者:
getFullName在接口中NameStrategy- 参数:
script- the Java script- 返回:
- the fully qualified class name
- 抛出:
ScriptException- if no class name could be determined
-