|
def | __init__ |
|
def | __str__ |
|
def | __unicode__ |
|
def | __repr__ |
|
def | __nonzero__ |
|
def | __len__ |
|
def | chunks |
|
def | multiple_chunks |
|
def | __iter__ |
|
def | open |
|
def | close |
|
def | __iter__ |
|
|
int | DEFAULT_CHUNK_SIZE = 64 |
|
|
| size = property(_get_size, _set_size) |
|
| closed = property(_get_closed) |
|
| encoding = property(lambda self: self.file.encoding) |
|
| fileno = property(lambda self: self.file.fileno) |
|
| flush = property(lambda self: self.file.flush) |
|
| isatty = property(lambda self: self.file.isatty) |
|
| newlines = property(lambda self: self.file.newlines) |
|
| read = property(lambda self: self.file.read) |
|
| readinto = property(lambda self: self.file.readinto) |
|
| readline = property(lambda self: self.file.readline) |
|
| readlines = property(lambda self: self.file.readlines) |
|
| seek = property(lambda self: self.file.seek) |
|
| softspace = property(lambda self: self.file.softspace) |
|
| tell = property(lambda self: self.file.tell) |
|
| truncate = property(lambda self: self.file.truncate) |
|
| write = property(lambda self: self.file.write) |
|
| writelines = property(lambda self: self.file.writelines) |
|
| xreadlines = property(lambda self: self.file.xreadlines) |
|
def google.appengine._internal.django.core.files.base.File.chunks |
( |
|
self, |
|
|
|
chunk_size = None |
|
) |
| |
Read the file and yield chucks of ``chunk_size`` bytes (defaults to
``UploadedFile.DEFAULT_CHUNK_SIZE``).
def google.appengine._internal.django.core.files.base.File.multiple_chunks |
( |
|
self, |
|
|
|
chunk_size = None |
|
) |
| |
Returns ``True`` if you can expect multiple chunks.
NB: If a particular file representation is in memory, subclasses should
always return ``False`` -- there's no good reason to read from memory in
chunks.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/_internal/django/core/files/base.py