public class ResourceWriter extends Object implements BundleWriterHandler
Constructor and Description |
---|
ResourceWriter() |
Modifier and Type | Method and Description |
---|---|
static String |
derivePatternFromPath(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,
ResourceKey resourceKey) |
String |
writeReport(WriteableDocumentBundle bundle,
BundleWriterState state)
Writes a certain aspect into a own file.
|
public int getProcessingOrder()
getProcessingOrder
in interface BundleWriterHandler
public String writeReport(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, ResourceKey resourceKey)
public static String derivePatternFromPath(MimeRegistry mimeRegistry, String mimeType, String path)
Copyright © 2017 Hitachi Vantara. All rights reserved.