Package rhn :: Module transports :: Class File
[hide private]
[frames] | no frames]

Class File

source code

Instance Methods [hide private]
 
__init__(self, file_obj, length=0, name=None, progressCallback=None, bufferSize=16384) source code
 
__len__(self) source code
 
read(self, amt=None) source code
 
read_to_file(self, file)
Copies the contents of this File object into another file object
source code
 
_get_file(self)
Read everything into a temporary file and call the progress callbacks if the file length is defined, or just reads till EOF
source code
 
__del__(self) source code