Package rhnpush :: Module archive :: Class TarParser
[hide private]
[frames] | no frames]

Class TarParser

source code


Instance Methods [hide private]
 
__init__(self, archive, tempdir='/tmp/')
Initialize an archive parser
source code
 
_get_archive_dir(self)
[internal] find the archive's top level directory name
source code
 
_explode(self)
Explode tar archive
source code
 
_explode_cmd(self)
[internal] find the appropriate command to open the archive
source code

Inherited from ArchiveParser: __del__, contains, cpio, direct_read, list, read, zip

Inherited from ArchiveParser (private): _find

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, archive, tempdir='/tmp/')
(Constructor)

source code 

Initialize an archive parser

Overrides: object.__init__
(inherited documentation)

_get_archive_dir(self)

source code 

[internal] find the archive's top level directory name

Overrides: ArchiveParser._get_archive_dir
(inherited documentation)

_explode(self)

source code 

Explode tar archive

Overrides: ArchiveParser._explode

_explode_cmd(self)

source code 

[internal] find the appropriate command to open the archive

Overrides: ArchiveParser._explode_cmd
(inherited documentation)