public class SimpleGramarPlatform extends GramarPlatform implements IGramarPlatform
extensions, fileStore, pluginSources
Constructor and Description |
---|
SimpleGramarPlatform()
Simple constructor.
|
SimpleGramarPlatform(Properties props)
Constructor that loads additional extensions as specified in a property file
For example, adding a property "plugin.directory.1=common/gramars" in the property file
would result in a FileSystemPluginSource being added for directory common/gramars.
|
Modifier and Type | Method and Description |
---|---|
protected void |
loadExtensions()
Called by the constructor to give the implementer the chance to load
any known extensions, gramars, etc
|
addPluginSource, addTemplatingExtension, apply, apply, apply, apply, apply, getDefaultFileStore, getFileStore, getGramar, getKnownGramars, getTemplatingExtension, scoreKnownGramars, setDefaultFileStore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPluginSource, addTemplatingExtension, apply, apply, apply, apply, getDefaultFileStore, getFileStore, getGramar, getKnownGramars, getTemplatingExtension, scoreKnownGramars, setDefaultFileStore
public SimpleGramarPlatform()
public SimpleGramarPlatform(Properties props) throws GramarException
pm
- GramarException
protected void loadExtensions()
GramarPlatform
loadExtensions
in class GramarPlatform
Copyright © 2015. All rights reserved.