File Node Abstract

File Nodes are the resolved objects of URIs referenced by the skinning framework. File Nodes deliver the data of images, skin files, XRC files, and any other resource referenced by the skin.


From source:trunk/proj/uriResolver/fileobj/filebase.py#head

class FileNodeAbstract(URINodeBase):
    #~ File Node API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    def exists(self):
        raise NotImplementedError('Subclass Responsibility')

    def open(self, *args, **kw):
        raise NotImplementedError('Subclass Responsibility')