3
6ßL]Ü  ã               @   s4   d Z ddlmZmZ ddlmZ G dd„ deƒZdS )z! The resource manager interface. é    )ÚInstanceÚ	Interfaceé   )ÚIResourceProtocolc               @   s    e Zd ZdZeeƒZdd„ ZdS )ÚIResourceManagerz! The resource manager interface. c             C   s   dS )zâ Return a readable file-like object for the specified url.

        Raise a 'NoSuchResourceError' if the resource does not exist.

        e.g.::

          manager.file('pkgfile://acme.ui.workbench/preferences.ini')

        N© )ÚselfÚurlr   r   úJ/tmp/pip-install-5sebvq2j/envisage/envisage/resource/i_resource_manager.pyÚfile   s    zIResourceManager.fileN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Zresource_protocolsr   r   r   r   r
   r      s   r   N)r   Z
traits.apir   r   Zi_resource_protocolr   r   r   r   r   r
   Ú<module>   s   