ContainerItem class

ContainerItem class

Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on.

The ContainerItem type exposes the following members:

Properties

Property Description
name Gets the name of the item.
directory Gets the directory of the item.
file_path Gets the full path of the item.
size Gets the size of the item.
metadata Gets the collection of metadata items.

Methods

Method Description
open_parser Creates the Parser object for the item content.
open_parser Creates the Parser object for the item content with LoadOptions.
open_parser Creates the Parser object for the item content with LoadOptions
and ParserSettings.
get_metadata_value Gets the metadata value.
open_stream Opens the stream of the item content.
detect_file_type Detects a file type of the container item.

Remarks

An instance of ContainerItem class is used as return value of Parser.get_container method. See the usage examples there.

See Also