public class ResourceWriter extends Object implements BundleWriterHandler
Constructor and Description |
---|
ResourceWriter() |
Modifier and Type | Method and Description |
---|---|
static String |
derivePatternFromPath(org.pentaho.reporting.libraries.repository.MimeRegistry mimeRegistry,
String mimeType,
String path) |
int |
getProcessingOrder()
Returns a relatively low processing order indicating this BundleWriterHandler should be one of the first processed.
|
static boolean |
isEmbeddedKey(MasterReport report,
org.pentaho.reporting.libraries.resourceloader.ResourceKey resourceKey) |
String |
writeReport(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle,
BundleWriterState state)
Writes a certain aspect into a own file.
|
public int getProcessingOrder()
getProcessingOrder
in interface BundleWriterHandler
public String writeReport(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state) throws IOException, BundleWriterException
writeReport
in interface BundleWriterHandler
bundle
- the bundle where to write to.state
- the writer state to hold the current processing information.IOException
- if any error occuredBundleWriterException
- if a bundle-management error occured.public static boolean isEmbeddedKey(MasterReport report, org.pentaho.reporting.libraries.resourceloader.ResourceKey resourceKey)