Code example for Set

Methods: sizetoArray

0
 
	@Override 
	public String[] getKeys() {
		Set<String> keys = context.keySet();
 
		return keys.toArray(new String[keys.size()]);
	} 
 
	@Override 
	public void prepare(HttpServletRequest request) {
		_templateContextHelper.prepare(this, request);
	} 
 
	@Override 
	public void processTemplate(Writer writer) throws TemplateException {
		if (errorTemplateResource == null) {
			try { 
				processTemplate(templateResource, writer);
 
				return;