Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ScriptEngine (0.14 sec)

  1. src/main/java/org/codelibs/fess/script/ScriptEngine.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.script;
    
    import java.util.Map;
    
    public interface ScriptEngine {
        Object evaluate(final String template, final Map<String, Object> paramMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 793 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            scriptEngineMap.put(name.toLowerCase(Locale.ROOT), scriptEngine);
            scriptEngineMap.put(scriptEngine.getClass().getSimpleName().toLowerCase(Locale.ROOT), scriptEngine);
        }
    
        public ScriptEngine getScriptEngine(final String name) {
            if (name == null) {
                throw new ScriptEngineException("script name is null.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/AbstractScriptEngine.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.script;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class AbstractScriptEngine implements ScriptEngine {
    
        public void register() {
            ComponentUtil.getScriptEngineFactory().add(getName(), this);
        }
    
        protected abstract String getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 920 bytes
    - Viewed (0)
Back to top