public abstract class FileResourceContentGenerator extends SimpleContentGenerator implements IFileResourceRenderer
IFileResourceRenderer
apicallbacks, instanceId, itemName, messages, outputHandler, parameterProviders, urlFactory, userSession
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Constructor and Description |
---|
FileResourceContentGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
createContent(OutputStream out) |
org.apache.commons.logging.Log |
getLogger() |
String |
getMimeType() |
createContent
getCallback, getItemName, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setRepositoryFile
getMimeType, setOutputStream
public void createContent(OutputStream out) throws Exception
createContent
in class SimpleContentGenerator
Exception
public String getMimeType()
getMimeType
in class SimpleContentGenerator
public org.apache.commons.logging.Log getLogger()
getLogger
in class BaseContentGenerator
Copyright © 2018 Hitachi Vantara. All rights reserved.