Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.doc.user.examples.internal.content
Class ExamplesContent

java.lang.Object
  extended by eu.esdihumboldt.hale.doc.util.content.AbstractVelocityContent
      extended by eu.esdihumboldt.hale.doc.user.examples.internal.content.ExamplesContent
All Implemented Interfaces:
ExamplesConstants, org.eclipse.help.IHelpContentProducer

public class ExamplesContent
extends AbstractVelocityContent
implements ExamplesConstants

Examples content producer.

Author:
Simon Templer

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.doc.user.examples.internal.ExamplesConstants
NO_TOPICS, PATH_OVERVIEW, PATH_PREFIX_PROJECT, PATH_SUFFIX_MAPPINGDOC, PLUGIN_ID, PLUGINS_ROOT
 
Constructor Summary
ExamplesContent()
           
 
Method Summary
 InputStream getInputStream(String pluginID, String href, Locale locale)
           
protected  InputStream getTemplate(String templateId)
          Get the template content.
 
Methods inherited from class eu.esdihumboldt.hale.doc.util.content.AbstractVelocityContent
getContentFromTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExamplesContent

public ExamplesContent()
Method Detail

getInputStream

public InputStream getInputStream(String pluginID,
                                  String href,
                                  Locale locale)
Specified by:
getInputStream in interface org.eclipse.help.IHelpContentProducer
See Also:
IHelpContentProducer.getInputStream(String, String, Locale)

getTemplate

protected InputStream getTemplate(String templateId)
                           throws Exception
Description copied from class: AbstractVelocityContent
Get the template content.

Specified by:
getTemplate in class AbstractVelocityContent
Parameters:
templateId - the template id (there may be multiple templates)
Returns:
the template as input stream
Throws:
Exception - if an error occurs retrieving the template
See Also:
AbstractVelocityContent.getTemplate(String)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d