class documentation
Wrapper for external Zope file objects to provide blob-like interface.
MyBlobWrapper adapts external file objects (OFS.File.File, OFS.Image.Image) from other Zope containers to provide a consistent blob-like interface compatible with ZMS blob field handling.
Features:
- Wraps external file objects
- Provides blob-compatible method signatures
- Lazy data access through delegation
- URI data retrieval as base64-encoded data URIs
- Filename and URL extraction
This class is used for cross-container file references and external file handling while maintaining compatibility with native ZMS blob operations.
| Method | __init__ |
Initialize the wrapper around an external file object. |
| Method | __str__ |
Return the wrapped data decoded as text. |
| Method | get |
Return the wrapped file data. |
| Method | get |
Return the wrapped file as a data URI. |
| Method | get |
Return the identifier of the wrapped file object. |
| Method | get |
Return the absolute URL of the wrapped file object. |
| Class Variable | __str |
Undocumented |
| Class Variable | get |
Undocumented |
| Class Variable | get |
Undocumented |
| Class Variable | get |
Undocumented |
| Class Variable | get |
Undocumented |
| Instance Variable | f |
Undocumented |