ExportManager

Inheritance: java.lang.Object

public class ExportManager

Provides a row of methods allowing the user to export metadata properties to various formats.

Constructors

Constructor Description
ExportManager(Iterable properties) Initializes a new instance of the ExportManager class.

Methods

Method Description
export(String filePath, ExportFormat format, ExportOptions exportOptions) Exports the metadata properties to a file.
export(OutputStream document, ExportFormat format, ExportOptions exportOptions) Exports the metadata properties to a stream.
export(String filePath, ExportFormat format) Exports the metadata properties to a file.
export(OutputStream document, ExportFormat format) Exports the metadata properties to a stream.

ExportManager(Iterable properties)

public ExportManager(Iterable<MetadataProperty> properties)

Initializes a new instance of the ExportManager class.

Parameters:

Parameter Type Description
properties java.lang.Iterable<com.groupdocs.metadata.core.MetadataProperty> A collection of metadata properties to be exported.

export(String filePath, ExportFormat format, ExportOptions exportOptions)

public final void export(String filePath, ExportFormat format, ExportOptions exportOptions)

Exports the metadata properties to a file.

Parameters:

Parameter Type Description
filePath java.lang.String The full name of the output file.
format ExportFormat The format of the output file.
exportOptions ExportOptions

export(OutputStream document, ExportFormat format, ExportOptions exportOptions)

public final void export(OutputStream document, ExportFormat format, ExportOptions exportOptions)

Exports the metadata properties to a stream.

Parameters:

Parameter Type Description
document java.io.OutputStream The full name of the output file.
format ExportFormat The format of the output file.
exportOptions ExportOptions

export(String filePath, ExportFormat format)

public final void export(String filePath, ExportFormat format)

Exports the metadata properties to a file.

Parameters:

Parameter Type Description
filePath java.lang.String The full name of the output file.
format ExportFormat The format of the output file.

export(OutputStream document, ExportFormat format)

public final void export(OutputStream document, ExportFormat format)

Exports the metadata properties to a stream.

Parameters:

Parameter Type Description
document java.io.OutputStream The output file stream.
format ExportFormat The format of the output file.