public class ExportManager extends Object
Provides a row of methods allowing the user to export metadata properties to various formats.
| Constructor and Description |
|---|
ExportManager(Iterable<MetadataProperty> properties)
Initializes a new instance of the
ExportManager class. |
| Modifier and Type | Method and Description |
|---|---|
void |
export(OutputStream document,
ExportFormat format)
Exports the metadata properties to a stream.
|
void |
export(OutputStream document,
ExportFormat format,
ExportOptions exportOptions)
Exports the metadata properties to a stream.
|
void |
export(String filePath,
ExportFormat format)
Exports the metadata properties to a file.
|
void |
export(String filePath,
ExportFormat format,
ExportOptions exportOptions)
Exports the metadata properties to a file.
|
public ExportManager(Iterable<MetadataProperty> properties)
Initializes a new instance of the ExportManager class.
properties - A collection of metadata properties to be exported.public final void export(OutputStream document, ExportFormat format)
Exports the metadata properties to a stream.
document - The output file stream.format - The format of the output file.public final void export(OutputStream document, ExportFormat format, ExportOptions exportOptions)
Exports the metadata properties to a stream.
document - The full name of the output file.format - The format of the output file.public final void export(String filePath, ExportFormat format)
Exports the metadata properties to a file.
filePath - The full name of the output file.format - The format of the output file.public final void export(String filePath, ExportFormat format, ExportOptions exportOptions)
Exports the metadata properties to a file.
filePath - The full name of the output file.format - The format of the output file.Copyright © 2025. All rights reserved.