Interface ITemplateStorage
-
public interface ITemplateStorage
The storage for language templates that helps to manage them
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(ITemplate template)
Adds the given template or replaces added template with the same name as given with new oneCollection<ITemplate>
getTemplates()
Returns all stored templatesvoid
remove(ITemplate template)
Removes the given template
-
-
-
Method Detail
-
add
void add(ITemplate template)
Adds the given template or replaces added template with the same name as given with new one- Parameters:
template
- The template to save, cannot benull
-
remove
void remove(ITemplate template)
Removes the given template- Parameters:
template
- The template to remove, cannot benull
-
getTemplates
Collection<ITemplate> getTemplates()
Returns all stored templates- Returns:
- All store templates, cannot be
null
-
-