ContainerItem class
Leave feedback
On this page
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:
| 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. |
| 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. |
- module
groupdocs.parser.data
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.