Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{scrollbar}
| 

Parameters:

...


org.pentaho.core.solution.IActionResource

...


resource

Result:

java.io.InputStream

...


Returns an input stream to the contents of the specified resource. It is important to call isDefinedResource() or getResourceNames() before asking for access to an output as an error will occur if you ask for an output that has not been defined in the action sequence.

Code Block
titleExample
if( isDefinedResource("message-template") ) {
    InputStream stream = getResourceInputStream("message-template" );
}
{code}