ContainerItem class

ContainerItem class

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

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

The ContainerItem type exposes the following members:

Methods

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

Properties

Property Description
directory The directory of the item (without a file name).
file_path The full path of the item as a string.
metadata The collection of metadata items.
name The name of the item, a string representing the file name without a directory.
size The size of the item in bytes.

See Also