lpod.manifest

class lpod.manifest.odf_manifest(part_name, container)

Bases: lpod.xmlpart.odf_xmlpart

add_full_path(full_path, media_type='')
del_full_path(full_path)
get_media_type(full_path)

Get the media type of an existing path.

Return: str

get_path_medias()

Return the list of (full_path, media_type) pairs in the manifest.

Return: list of (unicode, str) tuples

get_paths()

Return the list of full paths in the manifest.

Return: list of unicode

set_media_type(full_path, media_type)

Set the media type of an existing path.

Arguments:

full_path – unicode

media_type – str

lpod.manifest.odf_create_file_entry(full_path, media_type)

Previous topic

lpod.list

Next topic

lpod.meta

This Page