Class FileResourceContentGenerator
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.PentahoBase
-
- org.pentaho.platform.engine.services.solution.BaseContentGenerator
-
- org.pentaho.platform.engine.services.solution.SimpleContentGenerator
-
- org.pentaho.platform.web.http.api.resources.FileResourceContentGenerator
-
- All Implemented Interfaces:
Serializable
,org.pentaho.platform.api.action.IAction
,org.pentaho.platform.api.action.IStreamingAction
,org.pentaho.platform.api.engine.IContentGenerator
,org.pentaho.platform.api.engine.ILogger
,IFileResourceRenderer
public abstract class FileResourceContentGenerator extends org.pentaho.platform.engine.services.solution.SimpleContentGenerator implements IFileResourceRenderer
Abstract class that enables a content generator to act like a Java Bean through theIFileResourceRenderer
api- Author:
- aaron
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
callbacks, instanceId, itemName, messages, outputHandler, parameterProviders, urlFactory, userSession
-
-
Constructor Summary
Constructors Constructor Description FileResourceContentGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createContent(OutputStream out)
org.apache.commons.logging.Log
getLogger()
String
getMimeType()
-
Methods inherited from class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
createContent
-
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
getCallback, getItemName, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
-
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.platform.api.action.IAction
execute, isExecutionSuccessful
-
Methods inherited from interface org.pentaho.platform.web.http.api.resources.IFileResourceRenderer
setRepositoryFile
-
-
-
-
Method Detail
-
createContent
public void createContent(OutputStream out) throws Exception
- Specified by:
createContent
in classorg.pentaho.platform.engine.services.solution.SimpleContentGenerator
- Throws:
Exception
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in classorg.pentaho.platform.engine.services.solution.SimpleContentGenerator
-
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in classorg.pentaho.platform.engine.services.solution.BaseContentGenerator
-
-