public abstract class PluginSource extends Object implements IPluginSource
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoRefresh |
Constructor and Description |
---|
PluginSource() |
Modifier and Type | Method and Description |
---|---|
void |
addKnownGramar(String id)
Tells the receiver that a pattern with the specified ID exists and is retrievable.
|
void |
gather() |
void |
gather(HashMap<String,IGramar> map) |
IGramar |
getGramar(String gramarId)
Return an IGramar with the given id
A gramar is a collection of text templates and a property file.
|
IGramar[] |
gramars()
Return an array of available IPatterns.
|
String[] |
list()
Return an array of String id's for the available IGramars.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTemplatingExtension
public void gather()
public String[] list()
IPluginSource
list
in interface IPluginSource
public IGramar[] gramars()
IPluginSource
gramars
in interface IPluginSource
public IGramar getGramar(String gramarId) throws NoSuchGramarException, InvalidGramarException
IPluginSource
getGramar
in interface IPluginSource
NoSuchGramarException
InvalidGramarException
public void addKnownGramar(String id) throws NoSuchGramarException, InvalidGramarException
IPluginSource
addKnownGramar
in interface IPluginSource
NoSuchGramarException
InvalidGramarException
Copyright © 2015. All rights reserved.